in reply to Re: array or array ref as variable
in thread array or array ref as variable
Or, more idiomatically:
(or: theSub($_); depending on your usage).my @everything = (\@fw, \@vlan, \@vrf, \@more); foreach (@everything) { theSub(@$_); }
In Section
Seekers of Perl Wisdom