for (qw(list_users load_user list_prods load_prod)) { my $name = $_; around $name => sub { ... $name is available here too ... }; }
In reply to Re: Moose | How to identify subroutine inside an 'around' in case multiple subroutine share the same 'around'?
by ikegami
in thread Moose | How to identify subroutine inside an 'around' in case multiple subroutine share the same 'around'?
by ashish.kvarma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |