Sorry, I didn't undestand what you mean .
The code I have posted previously has the only purpose to show the problem, so if it should seems somewhere strange , don't care to much.
BTW : I have just discoverred that if I remove the tie directive tie %$self, 'Tie::File::AsHash', $fileTie, split => '=' or die "Problem tying %$self: $!";
then the program work well, also the 3th print show the contents of the hash.
I don't known if that is also wath you mean in your comment when you said
That you're hiding the print inside of Tie::File::AsHash doesn't change anything
mybe that the tie of blessed $self corrupt some data the pointer
in that case I will use another hash for the persistence of data
In reply to Re^4: FATAL ERROR: Can't use string ("HASH(0x875fffc)") as a HASH ref while "strict refs" in use at
by earlati2
in thread FATAL ERROR: Can't use string ("HASH(0x875fffc)") as a HASH ref while "strict refs" in use at
by earlati2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |