in reply to Re: scoping problems
in thread scoping problems
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: scoping problems
by AnomalousMonk (Archbishop) on Jun 03, 2013 at 14:47 UTC | |
by FloydATC (Deacon) on Jun 03, 2013 at 17:39 UTC | |
Re^3: scoping problems
by hdb (Monsignor) on Jun 03, 2013 at 11:33 UTC |
In Section
Seekers of Perl Wisdom