|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Use radio noise to make (non-critical) decisions...by dbush (Deacon) |
| on Jan 08, 2003 at 15:03 UTC ( #225271=CUFP: print w/ replies, xml ) | Need Help?? |
|
Ever had the problem of not knowing what to do? Perl and random.org to the rescue...
I was in two minds about posting this code and so I thought I would ask the script itself. The following is honestly the result...
The ether can't be wrong. Cheers, Update: Changed the code based on jdporter's suggestion in the chatterbox; "you should probably use $#solution, rather than @solution - 1. And you can interpolate it directly".
Back to
Cool Uses for Perl
|
|
||||||||||||||||||||||||||||||