Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Expect doesn't work as Expected

by jethro (Monsignor)
on Jul 07, 2012 at 21:38 UTC ( [id://980521]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use Expect;
    ...
                    exp_continue;
                            } ]
                  );
    
  2. or download this
     [ qr/you have/i => sub { my $exp = shift;
                             if (++$counter<=1) { 
    ...
                                  $exp->soft_close();                     
    +       
                              }           
                             } ],
    

Log In?
Username:
Password:

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

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

    No recent polls found