|Just another Perl shrine|
Re^2: Concerning hash operations (appending, concatenating)by demerphq (Chancellor)
|on Mar 25, 2005 at 08:06 UTC||Need Help??|
Is this a joke BUU?
Lets have a look at the code:
So this line will magically split @_ into two parts, the first part will go into @array1 and contain the whole contents of @_, @array2 will be empty.
Good thing this loop never executes as its a pretty inefficient way to add elements to an array. Perhaps the author has never heard of push.
So this entire subroutine could be replaced by: