Think about Loose Coupling | |
PerlMonks |
Re^3: Pass an optional parameter to a subroutineby Velaki (Chaplain) |
on Sep 15, 2006 at 17:54 UTC ( [id://573207]=note: print w/replies, xml ) | Need Help?? |
Exactly! What if someone sent in something like this? Then the @_ version would shift off the undef, which is not what is wanted, I think. Being contemplative
"Perl. There is no substitute."
In Section
Seekers of Perl Wisdom
|
|