"be consistent" | |
PerlMonks |
Re: Re: Emulating -c within perlby ViceRaid (Chaplain) |
on Sep 12, 2003 at 15:24 UTC ( [id://291098]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|