Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Expect prints command to console

by Krambambuli (Curate)
on Jun 21, 2010 at 15:50 UTC ( #845766=note: print w/replies, xml ) Need Help??


in reply to Expect prints command to console

Might help to make your code snippet runnable - what sort of Perl do you use ?

I wanted to give it a try, but my Perl doesn't know what 'crash' is, so I get only compile errors.

Is that
$cmd = "cd $tmp_dir; $^X $script $cmd";
line you have correct ? Isn't $cmd undefined when the string is evaluated ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://845766]
help
Chatterbox?
[Discipulus]: good night monks!
[shmem]: LanX: oh... now I have to figure out if this is good or bad news.
LanX bad day monks ?
[LanX]: hope you find sleep
[shmem]: LanX: which one?
[LanX]: the last
Discipulus yes a very bad day
[shmem]: grandola, vila morena
[shmem]: LanX: ah, that one. You'll get the bug reports also :P
[Discipulus]: upvote me! i'll make pm great again! ;=)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2017-04-29 22:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (534 votes). Check out past polls.