I reckon that's because of lonely $i in for($i;...) at line 13. If you replace it with
orfor(;$i<$Size;$i++)
for(my $i=0; $i<$Size; $i++) no, that's not suitable for this case, thanks moritz for pointing this out.
the warning will gone. Note that Perl is not C and there's no need to declare all variables in the beginning of the block.
In reply to Re: Useless use of private variable in void context
by zwon
in thread Useless use of private variable in void context
by okarmi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |