On Aug 16, 1:37 pm, [EMAIL PROTECTED] (Vunet Us) wrote: > This wouldn't work, obviously: > > open(TEXT,"http://vunet.us/contact/index.asp"); > print TEXT; > close (TEXT);
As you say, that won't work. But if you are on a *NIX box then install the IO::ALL module. Then you task is as simple as this: print io->http("www.whatever.com"); #REALLY - that's all! or assign it to a variable like this: $html < io->http("www.whatever.com"); It's EVEN EASIER than your pseudo-code. And IO::All does all your basic error handling for you (so forget about checking dollar-dibble- dabble)! Easy Easy! -- The best way to get a good answer is to ask a good question. David Filmer (http://DavidFilmer.com) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/