RE: using strict

2005-04-07 Thread Moon, John
Subject: using strict How strict is 'struct' when it comes to passing data to and from sub routines and how do you do that? I have a subroutine that counts items, then returns to the calling program, but even when I set return like return(@Value1,$Value2,$counter); the calling program does not

RE: using strict

2005-04-07 Thread Darrell Gammill
If you are just getting one array back, that is a feature of Perl. It doesn't delineate between the end of one array and the start of another in a list of arguments. The first array in the returned arguments will encompass all remaining values. If you reverse the order of the arguments, you will