in reply to Net:Telnet and Vaxes
use the cmd() method@line = $telnet->print('sh time');
According to the docs, the print() method "prints a string or a comma-separated list of strings to the opened object and returns non-zero if all data was successfully written."@line = $telnet->cmd('sh time');
jeffa
L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
F--F--F--F--F--F--F--F--
(the triplet paradiddle)
|
|---|