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

Re: Re: Re: Eval and system()

by busunsl (Vicar)
on Sep 05, 2001 at 17:20 UTC ( [id://110283]=note: print w/replies, xml ) Need Help??


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

It doesn't mean an error in eval when the command in system() fails.

To check for that you can probably use:

eval { system("false") and die "command 'false' went wrong!"}; print $@, "\n"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found