Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://753667]
help
Chatterbox?
[ambrus]: Or unless you left the title field empty or entered a very short title for the node, but then you'd get a message saying that.
[ambrus]: I hope Corion or some other admin is here and can check the logs to see what the problem is.
[mz2255]: I wish I had an online shop but sadly no. The title field definitly wasn't short, had a perl module in the title with 5-6 additional words.
[ambrus]: you can also try to just post again in case it was some intermittent error
[mz2255]: Tried again, denied. Maybe my code is just so bad the site refuses to post it.
[marto]: no, there's a bug, sometimes...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2017-10-19 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (255 votes). Check out past polls.

    Notices?