demo.lwp
High-level Network programming with LWP::Simple
This demonstrates how one can use the LWP::Simple package (from libwww-perl) from within ePerl to retrieve a file via HTTP. As an example the ePerl distribution README file is fetched from http://www.engelschall.com/sw/eperl/distrib/eperl-SNAP/.
And here comes the file:
use LWP::Simple; my $data = get("http://www.engelschall.com/sw/eperl/distrib/eperl-SNAP/README"); print $data; !>