OK. Thanks for pointing out the $saba and @saba not being related. It is probably bug out of convenience - I seem to have used an array in scalar context easily getting an array length but it seems that a shorthand like this cant travel well around different loops etc.? I did put
for(my $i=0;$i<@saba;++$i) {my $sabasize=scalar(@saba);
on the top of the for loop and it seems to be almost getting somewhere from there. :D so it seems to be that you led me to a better path here.
In reply to Re^2: scoping problems
by naturalsciences
in thread scoping problems
by naturalsciences
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |