Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to change a Hlist column value randomly

by kcott (Archbishop)
on Aug 31, 2013 at 01:35 UTC ( [id://1051676]=note: print w/replies, xml ) Need Help??


in reply to How to change a Hlist column value randomly

G'day ghosh123,

See "Tk::after - Execute a command after a time delay"; in particular, the "Changing a repeat timer interval" section.

Here's how you might randomly generate 2, 3 or 5:

$ perl -Mstrict -Mwarnings -e ' my @waits = (2, 3, 5); print $waits[int rand @waits] for 1 .. 12; ' 252523222533

-- Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-25 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found