in reply to Array refs

sub func1{ .... ... return ($a,$b); }

Now I want a one liner so that I can use the arrayrefs returned from that method

Am I right to assume $a and $b are arrayrefs already?

If yes then something like the following may work for you

my ($aryref_a, $aryref_b) = func1();

RL