1 | There is a well-known problem with ordinary ways of using Perl subroutine arguments |
2 | If one has a argument list such as |
3 | (@list1, @list2, .... ), then the subroutine sees a single list (array), which is the concatenation of the component lists |
4 | This can be avoided using hard references with the \ operator. For example: |
5 | @tailings = popmany( \@a, \@b, \@c, \@d ); |
6 | See next foil for code of popmany |