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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://142904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-19 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found