gottdammer has asked for the wisdom of the Perl Monks concerning the following question:
The string $sql have many tabular spaces ("\t") to make more readable the sentences. With the old linux is working fine, but instead in new system i have to join the lines like:my $sql="SELECT * FROM sometable WHERE something"; $sth=$dbh->prepare($sql); $sth->execute;
to work properly. What can be wrong?? Wrong file codification?? Sorry for my english..Saludos desde Argentina!my $sql="SELECT * FROM sometable WHERE something"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI:Mysql sql string multiline error
by Corion (Patriarch) on Oct 15, 2009 at 07:25 UTC | |
|
Re: DBI:Mysql sql string multiline error (join ' ')
by tye (Sage) on Oct 15, 2009 at 20:09 UTC |