Thx for the info and code.
I can see "my $s =shift;" will take the first parameter passed to sun s_in_a;
but I am not clear about @_ in "foreach (@_)",
does @_ mean the array you pass in? Is it necessary to pass array by reference then dereferrence it?
Thx, I appreciate it.