Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl Send-Expect Input discrepancy

by apl (Monsignor)
on Jul 08, 2009 at 12:06 UTC ( [id://778215]=note: print w/replies, xml ) Need Help??


in reply to Perl Send-Expect Input discrepancy

I can't answer your question, but I'm compelled to ask: What happens if you change

print $fh "y\n";

to

print $fh "y";
?

Replies are listed 'Best First'.
Re^2: Perl Send-Expect Input discrepancy
by perlpal (Scribe) on Jul 08, 2009 at 12:17 UTC
    In that case i get the following output, and the tool hangs :

    WARNING: Are you sure you want to destroy volume f3050_233_10_vserver_cifs_2_dynamic_vol1 in vserver f3050_233_10_vserver_cifs_2 ? {y|n}: yy

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-23 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found