Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 chanting in the Monastery: (9)
As of 2014-10-01 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (29 votes), past polls