in reply to Re: checking interpreted string for escapes versus literal backslashes?
in thread checking interpreted string for escapes versus literal backslashes?

that's a good point, i think i'll borrow your \B idea and use it instead! perl should really include something along that line, because i cant remmber how many times i have to deal with "\\\\\$test" or a similar situation...

Replies are listed 'Best First'.
Re^3: checking interpreted string for escapes versus literal backslashes?
by ambrus (Abbot) on Mar 28, 2006 at 16:34 UTC

    Don't actually use \B though, as it's already a regexp meta-character. Better use some unused letter (though it's hard to find any).