in reply to
Re^2: Perl SSH2
in thread Perl SSH2
Can you provide more detail about the main script?
How do you know stopservices is running and hasn't been skipped?
If you need to get out of a sub you can use "return($var)" to return to the calling routine.
It was a simple fix it seems $chan->blocking(0); was keeping the script from properly executing a command. Thanks for the input it made me look closer at the code in depth instead of just surface.
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (663 votes),