Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Escaping MySQL password

by davorg (Chancellor)
on Mar 26, 2001 at 18:19 UTC ( [id://67194]=note: print w/replies, xml ) Need Help??


in reply to Escaping MySQL password

I think you'll find that if you develop scripts with -w and use strict then perl will do its best to tell you what you're doing wrong.

In this case, I'm guessing that it'll complain about an unescaped '@' in a double-quoted string.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

Replies are listed 'Best First'.
Re: Re: Escaping MySQL password
by THRAK (Monk) on Mar 26, 2001 at 18:39 UTC
    I am using strict and -w, I alway do. Perl doesn't complain because it's just reading what it found in the file. This isn't the exact code, but just a brief pseudo-code to illustrate the problem. $_ is actually a line as within a while loop from a file read. I haven't tried some of the suggestions above, but I will give it a go and see what happens.

    Thanks - THRAK

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://67194]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-25 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found