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

Re: Perl oddities

by jmcnamara (Monsignor)
on Mar 01, 2005 at 10:40 UTC ( #435351=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        $ perl -le '%h = (a =>1, b => 2); print scalar %h'
        2/8
    
  2. or download this
        $ perl -le '%h = (a =>1, b => 2); print scalar keys %h'
        2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://435351]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2016-12-04 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (70 votes). Check out past polls.