in reply to can i return two hashes from a soubroutine
Of course, though you'll want to return them by reference. (Actually, you'll have to return at least the first one by reference.)
and use the return values appropriately in the caller.return( \%test1, \%test2 );
|
|---|