We don't bite newbies here... much | |
PerlMonks |
Re^5: Warnings on unused variables?by AZed (Monk) |
on Oct 02, 2008 at 01:18 UTC ( [id://714930]=note: print w/replies, xml ) | Need Help?? |
What I'm not seeing is why you would think that $c or $e could have a name better than undef. ... works just fine, produces no warnings, and has the added advantage of immediately giving the parameter a name that makes it absolutely clear that the value will be discarded.
In Section
Seekers of Perl Wisdom
|
|