in reply to
Escaping MySQL password
Since your password is the last element on the line read from the file, perhaps you need a chomp to remove a newline?
Comment on
Re: Escaping MySQL password
In Section
Seekers of Perl Wisdom