Pass them by reference:
process_something($s1, $s2, \@l1, \@l2);
Check out perlref for an explanation on references.
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.
In reply to Re: How to pass two lists to a sub?
by gothic_mallard
in thread How to pass two lists to a sub?
by YAFZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |