in reply to Re: Re: array testing
in thread array testing

First off, both '@a' and '@b' are special arrays used by the 'sort' function. In this case it won't hurt anything to use them.. just something to keep in mind.

What you can do:

if (defined(@a) || defined(@b)) { push(@test, @a, @b); }
If either is defined it will push it into @test.. if both are defined, it pushes @a, then @b into @test.