Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Getting Call-Response Behavior with Expect

by gnosti (Hermit)
on Sep 23, 2010 at 05:40 UTC ( #861446=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ------ test-expect-simple ----
    
    ...
    3.5: statement or proc definition expected
    midish> ^C
    
  2. or download this
    ------ test-expect-loop -----
    
    ...
    midish: ffff: no such proc
    enter command >> exit
    $ 
    
  3. or download this
    call_to_expect($one_command);
    execute_other_code();
    ...
    ^C
    $
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://861446]
Approved by Corion
help
Chatterbox?
Discipulus what's SioB?
[Eily]: Saints in our Book
[Discipulus]: ..mmhh: no warnings; does not affect carp.. how to suppress carp's output in tests?
[margeas]: What is the average response time of gods ?
[1nickt]: @CARP_NOT
[Corion]: margeas: I'll look at renaming you ;)
[markong]: ahah thanks Corion :)
[Eily]: Discipulus usually it's while testing that you want the full logs :)
[Eily]: anyway, maybe you can ignore STDERR ? (I'm not sure about @CARP_NOT, it looks like it only changes the place the error comes from)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2018-01-22 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (233 votes). Check out past polls.

    Notices?