in reply to Re^3: FATAL ERROR: Can't use string ("HASH(0x875fffc)") as a HASH ref while "strict refs" in use at
in thread FATAL ERROR: Can't use string ("HASH(0x875fffc)") as a HASH ref while "strict refs" in use at
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: FATAL ERROR: Can't use string ("HASH(0x875fffc)") as a HASH ref while "strict refs" in use at
by ikegami (Patriarch) on Jun 17, 2008 at 13:22 UTC | |
|
Re^5: FATAL ERROR: Can't use string ("HASH(0x875fffc)") as a HASH ref while "strict refs" in use at
by Anonymous Monk on Jun 17, 2008 at 13:25 UTC | |
by ikegami (Patriarch) on Jun 17, 2008 at 13:47 UTC |