can anyone tell me how can i configure a device from HTTP page using perl ?
I am using following cmd to enter the http page
[CODE=perl]use HTTP::Request;
$req = HTTP::Request->new($httpReque stMethod => "http://192.168.1.1/");
sleep 10;
$req->authorization_ basic("admin"," password");
sleep 10;[/CODE]
How can i change values on that page ? will print...
User Profile
Collapse
-
Perl: Unable to configure a device from HTTP page using perl
-
Perl: unable to use "select" with filehandle
i wanted to open a file using perl and the output of print cmd to be added in that file. can i do it using perl ?
what if i use following the following ".pl " file.
[CODE=perl]open CONFIG, ">HELLO.txt ";
select CONFIG;
print "suceeded";[/CODE]
when i execute the above file, i get compilation error.
Can anybody tell me wht is the error in this script.
No activity results to display
Show More