joined:Feb 16, 2012
Hi, I have a question as to how perl processes scripts. When a script is activated by a user, say by submitting a form does the script have to finish processing before another request can begin? The reason I ask this is has to do with mysql insert statements.
If a perl script involves multiple mysql inserts and one of the columns has a auto increment it seems as though some type of havoc could be wreaked if more than one request were being processed at any given time. What I mean is if there are more than one table with auto increment involved and more than one script were being processed couldn't a table end up with a number that does not match the number in an adjacent table. If this is possible problem is there a work around? The question came to me when I found out that multiple table inserts are not possible with one insert statement. Although this is not the mysql forum this does have something to do with the way input is inserted by perl. Or....am I over reacting over something that is really no cause for alarm?
I can only hope I'm being clear enough with this question and will try to re-word it if necessary.