Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: determine the variable causing the error: Use of uninitialized valueby marinersk (Priest) |
on Apr 14, 2017 at 03:44 UTC ( [id://1187906]=note: print w/replies, xml ) | Need Help?? |
Okay, I'm playing around with this just for funz and learninz and I've hit something I'm having trouble explaining: Why does evalnot detect this as an error? Original command placed in script and executed:
Produces, as advertised:
So I tried to capture the error in an evalblock:
But this produced:
What is it about evalthat I'm not understanding properly here?
In Section
Seekers of Perl Wisdom
|
|