in reply to Getting keys from a referenced hash

forget it, I found a typo:
$self->{'$atoms'}{$number}=$atom;

whoops, its working now.

cheers
Sam

Replies are listed 'Best First'.
Re: Re: Getting keys from a referenced hash
by dragonchild (Archbishop) on Sep 23, 2003 at 17:31 UTC
    That's one good reason to use the auto-quoting mechanism of {} as a hash de-referencer. :-)

    ------
    We are the carpenters and bricklayers of the Information Age.

    The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.