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.
|
|---|