syntax err in Simple.pm ?
Otis Gospodnetic (otisg@panther.middlebury.edu)
Tue, 23 Jul 1996 18:07:09 -0400 (EDT)
Hello,
I just tried to run some perl code that uses LWP and this is the error I got:
syntax error at /home/its/otisg/lib/perl5/site_perl/HTTP/Status.pm line 140,
near "sub status_message ("
BEGIN failed--compilation aborted at
/home/its/otisg/lib/perl5/site_perl/LWP/Simple.pm line 138.
looking at Simple.pm this is around lines 138-140...
=cut # this is line 138
sub status_message ($)
{
return undef unless exists $StatusCode{$_[0]};
$StatusCode{$_[0]};
}
=head2 is_info($code)
Does anyone know what's going on ?
Thanks,
Otis