in reply to Re: what does "$@" mean?
in thread what does "$@" mean?
Hi,
thanks for your reply. I have checked "perldoc -v '$@' " at my RHE4 with perl v5.8.5, but it shows "No documents found for '$@' ". I then checked the link you provided (Error Variables) to find an explanation as this:
$@ is set if the string to be eval-ed did not compile (this may happen if open or close were imported with bad prototypes), or if Perl code executed during evaluation die()d. In these cases the value of $@ is the compile error, or the argument to die (which will interpolate $! and $? ).
Is this mean $@ is only used to contain reasons why perl failed? Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: what does "$@" mean?
by AnomalousMonk (Archbishop) on Jan 22, 2013 at 03:30 UTC | |
Re^3: what does "$@" mean?
by LanX (Saint) on Jan 22, 2013 at 03:43 UTC | |
by Anonymous Monk on Jan 22, 2013 at 03:45 UTC | |
by LanX (Saint) on Jan 22, 2013 at 03:57 UTC |
In Section
Seekers of Perl Wisdom