Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Practicing Obfuscation CODE

by Crackers2 (Parson)
on Jun 14, 2004 at 06:52 UTC ( [id://366424]=note: print w/replies, xml ) Need Help??


in reply to Re: Practicing Obfuscation CODE
in thread Practicing Obfuscation CODE

Your code is not equivalent to his though. You're missing the logic that makes sure all picked numbers are unique. Try changing the 90 to 10, it shouldn't take more than a few tries to get dupes with your code. Something like the below would work (though not very obfuscated):
srand;@_=1..90;print(splice(@_,rand($#_-$_),1),$/)for+1..5;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-20 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found