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

Re: Perl parser tortured (was: Perl Idioms Explained)

by dada (Chaplain)
on Mar 02, 2004 at 16:12 UTC ( [id://333293]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub deref { my $ref = shift; return $$ref; }
    
  2. or download this
    sub deref { ${$_[0]} }
    
  3. or download this
    sub deref { ${shift} }
    
  4. or download this
    sub deref { ${shift@_} } # too much explicit
    sub deref { ${+shift} }  # supersticious? cfr. Roger
    sub deref { ${shift;} }
    

Log In?
Username:
Password:

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

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

    No recent polls found