Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: 73 chars, called on a foul (Re: LFSR golf)

by Anonymous Monk
on May 08, 2001 at 20:25 UTC ( #78882=note: print w/ replies, xml ) Need Help??


in reply to 73 chars, called on a foul (Re: LFSR golf)
in thread LFSR golf

Didn't know you wanted that. OK. New version (72 chars)

sub l{ my($s,$t)=@_;sub{($s=($s.(((my$x=$s+$t)=~y/1/1/d)%9%2)))=~s/5(.)/5/;$1 +} } $x=l("50101","0022");print ($x->(),$x->(),$x->(),$x->());


Comment on Re: 73 chars, called on a foul (Re: LFSR golf)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (20)
As of 2014-07-22 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (116 votes), past polls