When you wonder what your array looks like, you can always just look. When things don't make sense, look at the data directly. If the data is what you expect but you still get the wrong answers, the problem must be something else.
use Data::Dumper; my $array_ref = []; print STDERR Dumper( $array_ref );
In reply to Re: references to empty arrays
by brian_d_foy
in thread references to empty arrays
by BarMeister
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |