in reply to What's your favorite method of passing parameters into a sub?
But I never use the hashref method to pass in parameters. It's ugly, pointless and just adds punctuation without any gain.
I also like to use local %_ = @_ to put the named parameters in a hash.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: What's your favorite method of passing parameters into a sub?
by jk2addict (Chaplain) on Aug 20, 2002 at 14:55 UTC | |
by Abigail-II (Bishop) on Aug 20, 2002 at 15:30 UTC |