Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-10-02 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (45 votes), past polls