in reply to Re: Default subroutine parameters (boo)
in thread Default subroutine parameters
sub foo { my %defaults = ( qw( foo 9 bar 8 baz 7 ) ); my %args = ( %defaults, @_ ); ... }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Default subroutine parameters (boo)
by thelenm (Vicar) on Apr 23, 2002 at 16:21 UTC | |
by Fletch (Bishop) on Apr 23, 2002 at 16:24 UTC | |
by thelenm (Vicar) on Apr 23, 2002 at 16:32 UTC |