Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Alex] mod_perl, again

Quote Reply
Re: [Alex] mod_perl, again In reply to
I use the following code:
Code:
#!/usr/bin/perl

use LWP::UserAgent;
my $ua = LWP::UserAgent->new;

my $req = HTTP::Request->new(GET => "http://www.iyengar-yoga.com/forum/gforum.cgi");

my $res = $ua->request($req);

if ($res->is_success) {
print $res->as_string;
}
else {
print "Error: " . $res->status_line;
}
1;
and it doesn't show any numbers before the <!DOCTYPE line. If you come across something, could you let me know? Thanks a lot.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Subject Author Views Date
Thread mod_perl, again yogi 1896 May 15, 2002, 2:12 AM
Thread Re: [yogi] mod_perl, again
yogi 1842 May 16, 2002, 3:38 PM
Thread Re: [yogi] mod_perl, again
Paul 1831 May 16, 2002, 3:58 PM
Post Re: [Paul] mod_perl, again
yogi 1808 May 17, 2002, 12:06 AM
Thread Re: [yogi] mod_perl, again
Alex 1794 May 20, 2002, 2:00 PM
Post Re: [Alex] mod_perl, again
yogi 1778 May 20, 2002, 8:53 PM