nehaz has asked for the wisdom of the Perl Monks concerning the following question:
following is the error i am getting-------------------------------------------------------- use HTTP::Request; use LWP::UserAgent; $req = HTTP::Request->new($httpRequestMethod => "http://192.168.1.1/") +; $ua=LWP::UserAgent->new; $response=$ua->request($req); sleep 10; $req->authorization_basic("admin","password"); sleep 10; $content= s/202.36.7.8/202.36.7.8/; $response->$content; exit; ------------------------------------------------------------
how can i solve this problem or else where can i look for the appropriate cmds to achieve this ?----------------------------------- Not a CODE reference at (eval 8) line 1. ------------------------------------------------------------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unable to configure a device from HTTP page using perl script
by jasonk (Parson) on Nov 18, 2007 at 19:09 UTC | |
|
Re: unable to configure a device from HTTP page using perl script
by igelkott (Priest) on Nov 18, 2007 at 18:57 UTC |