I do not believe that this is any less efficient than using $_, and it has great advantages in flexibility and clarity.for my $foo (keys %var) { for my $bar (keys %{$var{$_}} { # You can access both now. } }
In reply to Re: variable like $_
by tilly
in thread variable like $_
by perlthirst
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |