I haven't removed strict, it work cause I've added at the start of the script "our @fields;" and yes, if I try to print "print \@fields" it doesn't use different addresses, so I've tried to put "my @fields" in the sub and it uses different addresses but outside the sub it still doesn't work. I think I've done some declaration errors...
It's strange cause if I remove "my @fields" from the sub (using only @fields) it print the last assigned values.....
In reply to Re^10: Hash of Arrays or Arrays of arrays? and how proceed?
by paride
in thread Hash of Arrays or Arrays of arrays? and how proceed?
by paride
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |