in reply to Re^3: Returning arrays from a package (feature qw/refaliasing/;)
in thread Returning arrays from a package
> > well the OP is trying to return multiple array-refs not lists,
> > > > return(\@overall,\@electronics,\@safety);
And passing references is the canonical answer to this question.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Returning arrays from a package
by jcb (Parson) on Oct 02, 2019 at 23:41 UTC |