Not at compile time.
>perl -c -we"my %h = 'a';" -e syntax OK
How could it be?
>perl -c -we"my %h = f();" -e syntax OK
I disagree with the advice you quoted. f({...}) simply forces extra complexity in the caller just to avoid doing croak if @_ % 2; (which you don't really need anyway).
In reply to Re^2: Why Moose uses this syntax??!!
by ikegami
in thread Why Moose uses this syntax??!!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |