Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Brain Teaser

by tachyon (Chancellor)
on Jun 10, 2001 at 23:55 UTC ( #87347=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print //;       # prints 1, scalar return val of match null in $_ (alw
    +ays true)
    print \//;      # SCALAR(0x....)
    ...
    
    print  \\//   /   \\\//
           ref   div   ref
    
  2. or download this
    $a = \1; # first ref in lower mem
    $b = \1; # second ref in slightly higher mem 
    print $b/$a;
    
    # prints 1.00000684833673
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-07-04 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls