Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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?
[Cow1337killr]: <p>stevieb, you should leave an insightful comment at https://plugins. jetbrains.com/ idea/plugin/7796- perl</p>
[Cow1337killr]: (Oops. HTML paragraph markup not needed.)
[stevieb]: Cow1337killr yeah, you're probably right. I have communicated to the author directly, and here on his threads. It's a tremenous setup. With Devel::Camelcadedb , you get full perl debug support too

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2017-02-20 21:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (302 votes). Check out past polls.