> > 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
In reply to Re^4: Returning arrays from a package
by LanX
in thread Returning arrays from a package
by sherab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |