February 6th, 2000, 09:29 AM
I've been working on a script to store large amount of text in a MySQL database under perl. I'm using the DBI module.
Under PHP3 there a function called addslashes for adding escapecode.
How does this work with perl and DBI ?
February 19th, 2000, 11:43 AM
Do you really need to escape these items?
How are you going about it so far? If you place the whole line that you want to add to the database in a variable it shouldn't need escaping?!
Show us what you have got so far.
March 10th, 2000, 09:36 PM
Use DBI's quote() function. See perldoc DBI for more.