Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: getting the number of fields in hash per key

by mkmcconn (Chaplain)
on Nov 10, 2001 at 03:01 UTC ( [id://124498]=note: print w/replies, xml ) Need Help??


in reply to getting the number of fields in hash per key

It might be bad form (I'd like other opinions), but I habitually do this:

print 0+(keys %h);
mkmcconn

apologies - read it too quickly. Same idea then,

0+@{$h{'key'}}
sorry again *sheesh*

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-29 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found