So why all the @foo_attributes arrays instead of an %attributes HoA?
I got strict to check my names for me - that wouldn't happen with hash keys. It's also cheaper to use. I use ->$method syntax when forced to but it's verbose. It requires two statements where I previously had one expresssion.
my $m = "stringify_%1$s"; $self->$m( $op, $_ )⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re^2: Macro-envy, a snippet.
by diotalevi
in thread Macro-envy, a snippet.
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |