I'm writing IRC services in perl (some say it's a bad idea, others good, I
personally don't care what the language is, it has a fast response time and
does what I want it to do), however I need to have a sub to check bans every
second, to see if it should time them out and remove them. I have the time
to expire it in unix timestamp seconds:
$akill{$host}->{expires}
I need to make a sub to run through all the %akill keys one by one every
second to check if it should time them out. However I need it so the timer
doesn't interfere with the rest of the code, i.e responding to users on the
network normally as if the timer isn't even working.

Any clues?

Dan



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to