Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: The Perl Review

by jackdied (Monk)
on Feb 02, 2002 at 09:41 UTC ( #142904=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub obvious{
    #  (explained : count from zero until Z, return the current count if w
    +e found the position we are looking for)
    ...
        #23456789012345678901234567890123456789012345678901234567890
        $n=pop;for(;$n ne((0..9),(A..Z))[$a];$a++){}"$a"||0;
    }
    
  2. or download this
    sub fun {
    # (explained : reduce the numbers to their base2 (binary)
    ...
        # same thing, but obfu
      # $n=ord(pop);$a=($n&(1<<(4+($n>>6)))-1)+($n>>6&&9);
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2014-08-29 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls