Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Eval and system()

by camelman (Sexton)
on Sep 05, 2001 at 19:36 UTC ( [id://110329]=note: print w/replies, xml ) Need Help??


in reply to Re: Eval and system()
in thread Eval and system()

Thanks, monks. As always I learned quite a bit by asking a question here. I think I'll be going with:
eval { system "fake command" && print "Blah1\n" };
Initially I thought
eval {system ("fake command")} or print "Blah1\n";
was correct, but the first example works the way I want it to. Thanks . . . Kevin

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-19 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found