will print only:my @one = ('A', 'B', 'C'); my @two = (); if (defined(@one)) { print "Array one is defined.\n"; } if (defined(@two)) { print "Array two is defined.\n"; }
Array one is defined.
In reply to Re: array testing
by erasei
in thread array testing
by bory
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |