Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Japh algebra revisited

by ambrus (Abbot)
on Dec 24, 2007 at 21:31 UTC ( #658930=note: print w/ replies, xml ) Need Help??


in reply to Japh algebra revisited

The original code above gives an unnecessary default warning under perl 5.10.0. Here is a variant of the code, which should work correctly both under 5.10.0 and earlier perls.

eval for"for\$^(2..27){\$==0;\$==(\$=*\$^+ord)%127,for/./gs;print+chr\ +$=} #P*h!9= Nn[\c\9\0*.:\eUt\17%j{dY\31 -- ambrus"

Update: I forgot to link to my previous japh that this one has revisited Japh algebra.

Update 2010-08-30: Notice how my name in this one authenticates my authorship: it's not possible to change the name without understanding how the code works.


Comment on Re: Japh algebra revisited
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-12-27 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls