PDA

View Full Version : [perl] how to download html pages from anoother servers?



lotfi
April 2nd, 2003, 04:21
I need help for a perl script, which can download an html page from another server, here what I am using : for example

#from the package libwww-perl (LWP)
use LWP::Simple;
$content = get('www.yahoo.com');

but I want an idea to download just a little part of html pages (the first 1KBYTE of the page)

can someone help me ?
thanks for your answer.