Hossein has asked for the wisdom of the Perl Monks concerning the following question:
I have some @arrays.
I would like to have an array containing (ref to) these arrays.
f.eks. my arrays are: @fw, @vlan, @vrf, @more i need some thing like this: @everything[\@fw, \@vlan, \@vrf, \@more] foreach (@everything) { send $_ to sub_as_array }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: array or array ref as variable
by GrandFather (Saint) on Jun 28, 2013 at 06:20 UTC | |
by HelenCr (Monk) on Jun 28, 2013 at 07:00 UTC | |
by Lawliet (Curate) on Jun 28, 2013 at 11:08 UTC | |
by HelenCr (Monk) on Jun 28, 2013 at 19:50 UTC | |
by Hossein (Acolyte) on Jun 28, 2013 at 07:09 UTC | |
by HelenCr (Monk) on Jun 28, 2013 at 07:32 UTC | |
by Hossein (Acolyte) on Jun 28, 2013 at 08:12 UTC | |
by HelenCr (Monk) on Jun 28, 2013 at 09:30 UTC | |
| |
Re: array or array ref as variable
by GrandFather (Saint) on Jun 28, 2013 at 11:57 UTC | |
by HelenCr (Monk) on Jun 28, 2013 at 19:48 UTC |