Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: 1 0\/\/Nz U DoodZ!

by howard40 (Beadle)
on Feb 28, 2001 at 03:00 UTC ( [id://61221]=note: print w/replies, xml ) Need Help??


in reply to Re: 1 0\/\/Nz U DoodZ!
in thread 1 0\/\/Nz U DoodZ!

$data =~ s/ss^\b/ran("55","\$\$","\$\$")/gie;
That ^ makes no sense.


He's trying to make "$$" a more probable outcome than "55"... if you have a bag with one red hat and two black hats, and you pick one at random, chances are better for picking a black hat than a red one...
I kinda like the way he did that... it's strangely creative :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2025-06-13 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.