in reply to Re: Last Element of Hash
in thread Last Element of Hash

caveat: above will give warnings if @elements is full of numbers...
No it won't. You can always use a number as a string without any warning. The reverse isn't always true.

And besides, here, the elements are originally hash keys. Hash keys are always strings.

Replies are listed 'Best First'.
Re: Re: Re: Last Element of Hash
by LazerRed (Pilgrim) on Sep 26, 2003 at 14:42 UTC
    Thanks for the clarification... I still get confused sometimes over the little details, but I'm slowly getting the hang of it :-)

    LR

    Whip me, Beat me, Make me use Y-ModemG.