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 reply to Re: Re: Emulating -c within perl
by ViceRaid
in thread Emulating -c within perl
by ViceRaid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |