in reply to Re^9: Hash of Arrays or Arrays of arrays? and how proceed?
in thread Hash of Arrays or Arrays of arrays? and how proceed?
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.....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: Hash of Arrays or Arrays of arrays? and how proceed?
by jethro (Monsignor) on Aug 09, 2011 at 15:00 UTC | |
by paride (Initiate) on Aug 10, 2011 at 09:20 UTC | |
by jethro (Monsignor) on Aug 10, 2011 at 12:43 UTC | |
by paride (Initiate) on Aug 10, 2011 at 13:45 UTC |