Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: disadvantages of perl

by Anonymous Monk
on Jul 02, 2009 at 14:36 UTC ( [id://776766]=note: print w/replies, xml ) Need Help??


in reply to Re^2: disadvantages of perl
in thread disadvantages of perl

Should be
if( UNIVERSAL::isa($r,'HASH') and %$r ) { ... }

Replies are listed 'Best First'.
Re^4: disadvantages of perl
by chromatic (Archbishop) on Jul 02, 2009 at 23:08 UTC

    ... except that even that abusive code can't accurately determine if you can dereference all hashlike $r as a hash.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-19 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found