stewe has asked for the wisdom of the Perl Monks concerning the following question:
By now u know what i mean with it feels wrong in any possible way. So i started digging : Signals, Mysql Triggers, POE, Anyevent, IO:: and so forth. What would you do or maybe have done to implement something like that. Dont worry all i need is some direction which would be best and i will read from there but im overwhelmed by posibilitys without havein any Idea what would really work in production later which actually works ... not like Threads when i looked at them 7 Years ago ^^while(1){ foreach my $p (@{$dbh->selectall_arrayref(qq|SELECT id, do, ts FROM + do|, {Slice=>{} })}){ # Do what the JSON is telling me } sleep 1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Constant SQL Querys to send "signals"
by GrandFather (Saint) on Jun 20, 2016 at 21:24 UTC | |
|
Re: Constant SQL Querys to send "signals"
by kennethk (Abbot) on Jun 20, 2016 at 21:52 UTC | |
|
Re: Constant SQL Querys to send "signals"
by perlfan (Parson) on Jun 21, 2016 at 21:58 UTC | |
|
Re: Constant SQL Querys to send "signals"
by stewe (Initiate) on Jun 21, 2016 at 13:03 UTC | |
by kennethk (Abbot) on Jun 21, 2016 at 16:24 UTC | |
by stewe (Initiate) on Jun 21, 2016 at 18:44 UTC | |
by BrowserUk (Patriarch) on Jun 21, 2016 at 19:12 UTC | |
by kennethk (Abbot) on Jun 21, 2016 at 21:08 UTC |