Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Need help on expect

by Anonymous Monk
on Feb 23, 2015 at 15:44 UTC ( [id://1117553]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Need help on expect
in thread Need help on expect

Without knowing the output of the program you're working with, this is just a guess, but perhaps your regex doesn't need to be so specific, and something like qr/Do you want to kill all NetBackup daemons\?/ might be enough?

Replies are listed 'Best First'.
Re^4: Need help on expect
by toaravind (Initiate) on Feb 25, 2015 at 08:43 UTC
    Thanks all, it has been fixed and my perl script is working as expected.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-29 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found