No such thing as a small change | |
PerlMonks |
Re^2: Default subroutine parametersby Anonymous Monk |
on Dec 16, 2008 at 08:23 UTC ( [id://730593]=note: print w/replies, xml ) | Need Help?? |
sub foo
{
my ($bar)=@_; $bar ||= 'default'; }
In Section
Seekers of Perl Wisdom
|
|