User Profile

Collapse

Profile Sidebar

Collapse
nehaz
nehaz
Last Activity: Nov 17 '07, 05:39 PM
Joined: Nov 17 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Perl: Unable to configure a device from HTTP page using perl

    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...
    See more | Go to post
    Last edited by eWish; Nov 17 '07, 06:16 PM. Reason: Added Code Tags

  • nehaz
    started a topic Perl: unable to use "select" with filehandle
    in 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.
    See more | Go to post
    Last edited by eWish; Nov 17 '07, 06:17 PM. Reason: Added Code Tags
No activity results to display
Show More
Working...