Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://901585]
help
Chatterbox?
[SuicideJunkie]: Helps that the top level directories are people's names ;) But the nested rectangles make it easy to spot wasted space when it is lots of small stuff or a few big things.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-09-20 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (237 votes). Check out past polls.

    Notices?