Welcome to the Monastery | |
PerlMonks |
Re: for ($@)by edoc (Chaplain) |
on Jan 19, 2005 at 00:48 UTC ( [id://423231]=note: print w/replies, xml ) | Need Help?? |
FWIW.. This looks to me like a first revision which was intended to be developed further. As mentioned by hardburn the for ($@) sets $_ to the value of $@. Why would we want to do that? So we could then do something like:
Each of those is testing the string value of $@ cheers, J
In Section
Seekers of Perl Wisdom
|
|