Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by dada (Chaplain)
on Mar 02, 2004 at 16:12 UTC ( #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
Node Status?
node history
Node Type: note [id://333293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2020-09-25 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (136 votes). Check out past polls.

    Notices?