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.
In reply to Re: passing subroutine args as a hash: why not?
by Anonymous Monk
in thread passing subroutine args as a hash: why not?
by Willard B. Trophy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |