Others have given you good answers, but I haven't seen anyone mention these modules yet. Sub::Signatures and Perl6::Subs allow you to define your subs in the way that you want by using source filters. I haven't used them yet, but I thought i'd mention them.
In reply to Re: Predefining sub Parameters
by duct_tape
in thread Predefining sub Parameters
by willyyam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |