knobcreekman has asked for the wisdom of the Perl Monks concerning the following question:
But if I have a data file with 1|9999|Here comes \n a new line and then read that data file in such as:@data = (1, 9999, "Here comes \n a new line"); $dbh->execute(@data); Query results: Here comes a new line
I need the same behavior that I get with the hard-coded string when reading from a data file. Thanks for any help you can offer!while (<FH>) { @arr = split /\|/; $dbh->execute(@arr); } Query results: Here comes \n a new line
|
---|