toaddHost('aklia700',qw(carrot lunch));
have a look at perldoc perlref (what you are wanting is an anonymous array)addHost('aklia700',[qw(carrot lunch)]);
-enlil
In reply to Re: Basic Perl passing a temp array
by Enlil
in thread Basic Perl passing a temp array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |