in reply to Creating a hash with key generated by a sub?

What doesn't work? It looks just fine to me ...

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

  • Comment on Re: Creating a hash with key generated by a sub?

Replies are listed 'Best First'.
Re^2: Creating a hash with key generated by a sub?
by smullis (Pilgrim) on Nov 12, 2004 at 13:07 UTC

    AAAAAARRRRRGGGGGHHHH!!!!!!!!!!

    Dragonchild, you are - of course - completely correct

    I am, quite simply, being an a*se.

    FYI - my original code, before I copied it into PM - all neat and tidy - didn't quote the hash value. THAT's where the error was from....

    I suppose I can take solace in the fact my intuition was correct - I've just got to learn to trust it a bit more!!


    Cheers

    SM

    ...smullis puts his tail between his legs and runs off to hide....