Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, Is there a way to visit a web-site within a normal perl script and store the text in an array?
Thanks!

Replies are listed 'Best First'.
Re: retrieving info from the web with perl
by borisz (Canon) on Jan 28, 2005 at 11:48 UTC
    Yes,
    perl -MLWP::Simple -e 'push @x, get("http://perlmonks.com/index.pl")'
    Boris
Re: retrieving info from the web with perl
by friedo (Prior) on Jan 28, 2005 at 13:24 UTC