in reply to How to return the two set of arrays to the main program at the same time ??
sub { my ( @a, @b ); #... fill in the arrays return \@a, \@b; } [download]
Phil