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
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.