Or if you modify @_, for that matter. Will we now have 2 copies of all the arguments with all the memory headaches that brings or will it be a reference (and how would that work)?
For all the nice-to-haves such a feature might provide I think there are too many drawbacks and quite frankly the single-line "boilerplate" to achieve the same is no great hardship.
In reply to Re^2: Why doesn't Perl provide %_ as the hash equivalent of @_ in subs?
by hippo
in thread Why doesn't Perl provide %_ as the hash equivalent of @_ in subs?
by smls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |