Gossamer Forum
Home : General : Perl Programming :

annoying... "can't use string ... as HASH ref"

Quote Reply
annoying... "can't use string ... as HASH ref"
I keep getting this error all the time:

"Can't use string ("something") as a HASH ref while "strict refs" is in use."

Basicly, I'm trying to modify a key in a hashref object to report back errors in my module, and when I remove the code that does this, the error goes away.

Anyone able to decipher that message? I did a search in the forum but it pretty much only turned up Links SQL related topics, and no helpful information was found.

--Philip
Links 2.0 moderator
Subject Author Views Date
Thread annoying... "can't use string ... as HASH ref" sponge 3792 Sep 13, 2001, 10:52 PM
Thread Re: [junko] annoying... "can't use string ... as HASH ref"
Paul 3672 Sep 14, 2001, 3:29 AM
Thread Re: [PaulWilson] annoying... "can't use string ... as HASH ref"
sponge 3628 Sep 14, 2001, 8:04 AM
Thread Re: [junko] annoying... "can't use string ... as HASH ref"
Alex 3644 Sep 14, 2001, 9:02 AM
Thread Re: [Alex] annoying... "can't use string ... as HASH ref"
sponge 3645 Sep 14, 2001, 9:32 AM
Thread Re: [junko] annoying... "can't use string ... as HASH ref"
Alex 3657 Sep 14, 2001, 9:41 AM
Post Re: [Alex] annoying... "can't use string ... as HASH ref"
sponge 3625 Sep 14, 2001, 10:00 AM