develooper Front page | perl.beginners | Postings from October 2009

Can't use string ("1") as a HASH ref while "strict refs" in use at./policy.sanitizer line 255.

Thread Next
From:
Noah
Date:
October 9, 2009 14:12
Subject:
Can't use string ("1") as a HASH ref while "strict refs" in use at./policy.sanitizer line 255.
Message ID:
4ACFA723.1070209@enabled.com
Hi there,

I am trying to figure out why the following lines are giving me an error:


--- snip ---

             $found{filter}{$filter}{family}{$family} = 1;
             print keys %{ $found{filter}{$filter}{family} };


--- snip ----

here's the error

Can't use string ("1") as a HASH ref while "strict refs" in use at 
./policy.sanitizer line 255.


I am trying to the display all the keys for 
$found{filter}{$filter}{family} please


Cheers,

Noah

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About