The next example dies because system() returns the exit-code of the command it runs.
Unix commands return 0 on success, which is false for Perl, hence it dies.
Update: fixed typos
In reply to Re: Eval and system()
by busunsl
in thread Eval and system()
by camelman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |