Hold download in wget till my connection is established

view full story

http://askubuntu.com – I want to download a file Ttytter using wget and run it in the terminal. I can do that by gnome-terminal --tab -e 'wget http://www.floodgap.com/software/ttytter/dist2/2.0.02.txt -O /tmp/ttytter.pl && perl /tmp/ttytter.pl -hold' but if my connection is not established then how do I make wget to wait till connection established and then download the file. (HowTos)