which provides all the values of the array one by one, without using an index.foreach(@{$object_ref->{array_ref}}) { # loop code }
In reply to Re: A question of perlish elegance on array loop
by aquarium
in thread A question of perlish elegance on array loop
by ait
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |