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.
I make decisions, and my brain carries them out
My brain makes the decisions, and I observe them (if I'm lucky)
I make some decisions, and my brain makes others
My spouse makes decisions and I and my brain carry them out
I wrote a program to relieve me and my brain from the burden of decision-making
The black-helicopter people project the decisions into my brain and then I do as ordered
Results (351 votes),