Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Emulating -c within perl

by ViceRaid (Chaplain)
on Sep 12, 2003 at 15:24 UTC ( [id://291098]=note: print w/replies, xml ) Need Help??


in reply to Re: Emulating -c within perl
in thread Emulating -c within perl

Thanks. After running `perl -c foo.pl`, how do I check what the result was? If I was running an eval, I'd check $@, but the return value from `` is just a string, so I can't check that directly.

Update: aah, looks like I should be using $?. Also, thanks for the pointer, liz.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-25 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found