Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: How do I get expect.pm to ignore special characters?

by sn1987a (Deacon)
on Apr 15, 2015 at 19:50 UTC ( [id://1123556]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How do I get expect.pm to ignore special characters?
in thread How do I get expect.pm to ignore special characters?

Modify change_password to return a status, true(1) if it succeeded or false(0) otherwise. Then check the return value in the main loop:

my @fail_servers; for my $server (@servers) { # do your thing with $server push @failed_servers, $server unless change_password($server); }

Replies are listed 'Best First'.
Re^4: How do I get expect.pm to ignore special characters?
by amagana (Acolyte) on May 04, 2015 at 15:26 UTC

    Hello friend sn1987a and all,

    I had been away sick with really bad hay fever and since I live in Oklahoma City its even worse here. But I had wanted to come back to this perl script you had been very helpful with me and tell you that everyone's feedback and suggestions have been regarded with very much gratitude. I need to review what I have and where I want it to go.

    Regards,

    "Pergratum habeo"

    Andreas Magana "The Spaniard"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-04-19 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found