----- Original Message ----- From: "Alex Shi" <[EMAIL PROTECTED]> To: "active" <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 3:43 AM Subject: How to simulate http access?
> In perl how can access a remote document via 80(http) port? > I know in php there's a very simple way to do this: > > $rfp = fopen( http://www.blabla.com, 'r' ); > > I am just wondering if there's something as simple as the above > in perl..... > > Alex Shi use LWP::Simple; my $url = 'http://www.blabla.com'; my $doc = get $url; ego Edward G. Orton, GWN Consultants Inc. Phone: 613-764-3186, Fax: 613-764-1721 email: [EMAIL PROTECTED] _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/listinfo/activeperl
