in reply to Re: Applying an array to a function
in thread Applying an array to a function
is a complicated way of writingmy $array = []; @{$array} = ($x) x $n; return $array;
ormy @array = ($x) x $n; return \@array;
ormy $array = [ ($x) x $n ]; return $array;
return [ ($x) x $n ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Applying an array to a function
by eklerks (Novice) on Jun 02, 2010 at 14:10 UTC |