Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Variable assignment error checkingby rnewsham (Curate) |
on Dec 15, 2013 at 00:31 UTC ( [id://1067195]=note: print w/replies, xml ) | Need Help?? |
I think changing the sub to return $var in event of it being unable to complete its intended purpose would be the best option. I don't like it but if changing the sub can't be done then this is the most consice method I could think of.
In Section
Seekers of Perl Wisdom
|
|