problem with perl

hi
im using centos and a perl script doesnt seem to work on my system.
it gives an error on this line.

use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$ua->agent("MyApp/0.1 ");

BEGIN failed--compilation aborted at line 8.

is it a problem with my perl or is it an error with the script?

 

 

 

 

Top