Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w 
    print "Content-type: text/html\r\n\r\n"; 
    ...
    print $output; 
    $t->print("exit"); 
    print "</pre>"; #for nice output
    
  2. or download this
    @lines = $t->print ("turn off dhcp server"); #for example 
    ($output) = $t->waitfor('/=>$/i'); #waits prompt
    print $output;