Welcome to the Monastery | |
PerlMonks |
Re: Downloading first X bytes of a fileby misc (Friar) |
on Jun 09, 2008 at 11:51 UTC ( [id://691014]=note: print w/replies, xml ) | Need Help?? |
Another way: using IO::Socket::INET. This has the advantage to be more flexible. I don't know what you are looking for in the first 512 bytes, but dependent on what you get you could parse the response and fetch more data if needed.
michael
In Section
Seekers of Perl Wisdom
|
|