--- sivasakthi <[EMAIL PROTECTED]> wrote: > if i have changed the line as, > > my($out, $err) = $ssh->cmd("cd /usr/local","ls"); >
Try change this line to: my($out, $err) = $ssh->cmd("cd /usr/local;ls"); good luck. -- http://home.earthlink.net/~pangj/ http://home.arcor.de/jeffpang/ ____________________________________________________________________________________ Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. http://new.toolbar.yahoo.com/toolbar/features/norton/index.php -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/