Perl: the Markov chain saw | |
PerlMonks |
Re: Escaping MySQL passwordby kilinrax (Deacon) |
on Mar 26, 2001 at 18:17 UTC ( [id://67192]=note: print w/replies, xml ) | Need Help?? |
The problem with the specific snippet you quote here is that double-quoting the string leads it being interpolated, thus;
will result in $_ containing `host|db_name|user|some`, at the array `@thing` is undefined at this point in the code. Try using single quotes instead.
In Section
Seekers of Perl Wisdom
|
|