Bill Fink wrote:

> Simple (Probably VERY Trivial To Ya'll )
>
> I merely want to send TWO lines to a remote host (via the Telnet program, OR
> if there is an easier way), with the information that's returned to be
> collected to a file.
>
> (I'm creating reports from a web-server - and would like to send TWO LINES
> to THAT server, and 'read' the results.)

What you need here is LWP::Simple module. Just say:

  use LWP::Simple;
  $page = get 'http://dev.perl.org/';

and you have the HTML page in $page variable.
Thet works even with proxies, really great module.

See:
http://www.linpro.no/lwp/
http://www.perldoc.com/perl5.6/lib/LWP.html
http://search.cpan.org/search?dist=libwww-perl

- RaFaL Pocztarski, [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to