Anyone got any ideas why I'm getting this error;
The code is;
my $CatID = $tags->{ID};
If I comment out the second line, it works fine (well, it doesn't, but I don't get an error).
I'm sure I've had this problem before... but I can't seem to work out how to fix it
Any help is much appreciated.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote:
Can't use string ("1") as a HASH ref while "strict refs" in use at (eval 27) line 7.The code is;
Code:
my $tags = shift; my $CatID = $tags->{ID};
If I comment out the second line, it works fine (well, it doesn't, but I don't get an error).
I'm sure I've had this problem before... but I can't seem to work out how to fix it
Any help is much appreciated.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!