Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 contemplating the Monastery: (15)
As of 2015-07-01 17:05 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 (12 votes), past polls