my $N= #Org;
If you want to get the length of the array do:
my $N = scalar( @Org );
You may have been thinking of:
my $N = $#Org;
Which gives you the index of the last element, probably not what you're looking for.
In reply to Re: Strange compile error?
by marto
in thread Strange compile error?
by gelbukh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |