push(my @contentsOfDataBase, $_);
That's where you are masking an earlier declaration. Just remove the my.
while ($boxEnd >= my $boxBegining, $boxBegining++)
And that's where you are using >= in void context. That should probably look something like ...
my $boxBegining; while ($boxEnd >= $boxBegining) { $boxBegining++; # ... and the rest of your loop ... }
In reply to Re: Question of scope and syntax
by sauoq
in thread Question of scope and syntax
by Hellhound4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |