Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Simultaneous SSH sessions with Parallel::ForkManager + Expect

by ladyphnx (Novice)
on Mar 27, 2009 at 14:24 UTC ( #753667=note: print w/ replies, xml ) Need Help??


in reply to Simultaneous SSH sessions with Parallel::ForkManager + Expect

I am still much the padawan-learner Monk, but I'm going to offer what I have in hopes it may help.

I've never used ForkManager before, but it looks to me like you're getting that error because if $login ne "SUCCESSFUL!", then you never get to $pm->finish; You could change this if you reverse your test...

Try this:

if $login eq "SUCCESSFUL!" { my $stdout = getOSType(); print "$stdout\n"; }
and let me know what happens. :)


Comment on Re: Simultaneous SSH sessions with Parallel::ForkManager + Expect
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://753667]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2015-07-08 00:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls