Anonymous subroutine perhaps?
knoppix@Microknoppix:~$ perl -E ' > @arr = qw{ 11 22 33 44 }; > sub { say shift while @_ }->( @arr );' 11 22 33 44 knoppix@Microknoppix:~$
Cheers,
JohnGG
In reply to Re: TIMTOWTDI - printing an array
by johngg
in thread TIMTOWTDI - printing an array
by cheekuperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |