i write this perl code :
use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
my $ua = LWP::UserAgent->new();
my $req = POST 'http://example.com',
[ hfc /[pos]/ => 'yayaya' ];
$content = $ua->request($req)->as_string;
but when i compile it i get this error :
syntax error at C:\Documents and Settings\ysys\ya.pl line 5, near "/ =>"
what am i going to do ? Thanks in Advance .