$@ is just a global variable who's value is set after an eval is executed, and $! is a funny dual-valued variable (both integer and string) who's value is meaningful at the point of return from a Perl system function which has indicated failure, and who's documentation implies that it sets $! on failure. At any other points during code execution, its value is meaningless.
In reply to Re: $! and $@ peculiarities
by dave_the_m
in thread $! and $@ peculiarities
by linux454
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |