in reply to Remove $
What makes you think it doesn't work?
$_ = 'db1$/SQL/GEMINI/StoredProcs/pboValidateClientRefNo_ClientID.sql' +; s*\$**g; print; #Output: #db1/SQL/GEMINI/StoredProcs/pboValidateClientRefNo_ClientID.sql
You're not using $ inside a double-quoted string are you? $/ is a valid Perl identifier (the input record separator).
update: double quotes stuff
update^2: gah. $/ --> input record separator
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Remove $
by rawsr71 (Novice) on Aug 27, 2007 at 16:00 UTC | |
by FunkyMonk (Chancellor) on Aug 27, 2007 at 16:12 UTC | |
by rawsr71 (Novice) on Aug 27, 2007 at 17:01 UTC | |
by FunkyMonk (Chancellor) on Aug 27, 2007 at 17:36 UTC | |
by rawsr71 (Novice) on Aug 27, 2007 at 17:47 UTC |