Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Expect Trouble

by wulvrine (Friar)
on Nov 27, 2006 at 16:17 UTC ( [id://586284]=note: print w/replies, xml ) Need Help??


in reply to Expect Trouble

tc1364
I assume you changed the 'command prompt' to be 'command prompt' not ">" or even "#"? Are you sure the error messages are being matched at all? Have you tried adding prints inside the subroutines to validate which subroutine is fired off (indeed if any are fired off). Also, use that print to validate the $err_flg value.
What do you mean by 'not to try and match anything because the command prompt is always returned'. Could you help us out with a more detailed version of what you want to happen and what you are seeing happen?

s&&VALKYRIE &&& print $_^q|!4 =+;' *|

Log In?
Username:
Password:

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

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

    No recent polls found