On Thu, 21 Aug 2008 14:15:57 -0400, Moon, John wrote:
> How can I use a "constant" as a hash key?

Having to know the answer to this is one of the reasons that 'use
constant' is considered an inferior practice compared to

        use Readonly;
        Readonly my $CAT => 'A';

-- 
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to