![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Array refsby palette (Scribe) |
on May 04, 2007 at 16:10 UTC ( #613608=perlquestion: print w/replies, xml ) | Need Help?? |
palette has asked for the wisdom of the Perl Monks concerning the following question:
I have a method called func1
sub func1{ .... ... return ($a,$b); } Now I want a one liner so that I can use the arrayrefs returned from that method I can do like this @a=func1($a,$b); and use \@a any where I required. But I dont want this instead I want someway to use like \@func1(); Can anyone suggest what shud I do.
Back to
Seekers of Perl Wisdom
|
|