Hi!

Due to some other restrictions I had to look for a different solution
and found one, namely to check if the time has expired when I am
accessing the data that has to be changed. Anyways, I dont want to let
this mail unanswered.

Without code it's still hard to show a good example or find the problem.

What you could do is run the calculation in a background worker and let the main program always use that data.

(One of the more simpler solutions for data exchange might be using Cache::Memcached, that's the one i use)

The other possibility is having an external trigger. You're working on a webbased tool, right? Maybe write an external script that calls a specific (non-interlinked) webpage every 40 minutes? For this, you can try WWW::Mechanize.

LG
Rene
--
#!/usr/bin/perl #99BoB (C)2004 cavac:prg count drink vessel place act1 act2
@a...@argv;$c=$a[0]||99;$b=" ".($a[2]||"bottles")." of ".($a[1]||"beer");$w=" ".
($a[3]||"on the wall").",";do{print"$c$b$w\n$c$b,\n".($a[4]||"take one down").
", ".($a[5]||"pass it around").",\n".--$c."$b$w\n\n";}while($c);print"END!\n";

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to