However, it is safer and a recommended practice to pass named arguments as a hash reference
Depends. If you already have references to pass around, ok. If your subroutine / method takes mixed type arguments, ok. But if it is ever only being passed a hash, then constructing a hash at every sub/method call is costly and overkill.
In reply to Re^2: hash interface
by shmem
in thread hash interface
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |