Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Using Perl and MySQL for Activity Log

by eff_i_g (Curate)
on Apr 27, 2011 at 14:32 UTC ( #901585=note: print w/ replies, xml ) Need Help??


in reply to Using Perl and MySQL for Activity Log

...if a record exists, update the record... If a record doesn't exist, insert the new record
You can use INSERT...ON DUPLICATE KEY UPDATE for this and set up a trigger for the record keeping. I assume these will play nicely.


Comment on Re: Using Perl and MySQL for Activity Log
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2015-07-30 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls