Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Last Element of Hash

by bart (Canon)
on Sep 26, 2003 at 13:26 UTC ( [id://294411]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://294411]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-24 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found