Did you test this?
use strict; use Test::More tests => 1; my @cb = ( sub { $_[0] = reverse $_[0] }, sub { $_[1] = reverse $_[1] }, ); my @args = qw( one two ); for my $cb (@cb) { $cb->((@args)); } is_deeply( \@args, [qw( one two )] );
Besides that, any argument passing in Perl has that drawback.
In reply to Re: Re: Action at a great distance
by chromatic
in thread Action at a great distance
by sfink
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |