in reply to passing subroutine args as a hash: why not?
If one key gets misspelled, it can create an ugly bug that is hard to find. Pass in your parameters like a normal hu-man. And if you can use OOP, dont' pass them in as hashes either. Create attributes where they make sense, pass in the rest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: passing subroutine args as a hash: why not?
by djantzen (Priest) on Jun 05, 2003 at 19:50 UTC | |
by Anonymous Monk on Jun 06, 2003 at 17:36 UTC |