Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Wrong result for "length keys %$hashref"?

by chromatic (Archbishop)
on Mar 14, 2011 at 22:02 UTC ( [id://893181]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Wrong result for "length keys %$hashref"?
in thread Wrong result for "length keys %$hashref"?

If you used scalar, they might not know exactly what it did...

A Perl programmer who doesn't understand scalar context has no business programming alone.

With that said, this is one of the few places where using the explicit scalar operator makes sense.

  • Comment on Re^3: Wrong result for "length keys %$hashref"?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-26 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found