in reply to How to pass two lists to a sub?

Pass them by reference:

process_something($s1, $s2, \@l1, \@l2);

Check out perlref for an explanation on references.

--- Jay

All code is untested unless otherwise stated.
All opinions expressed are my own and are intended as guidance, not gospel; please treat what I say as such and as Abigail said Think for yourself.
If in doubt ask.