in reply to If I Want Backslashes, I'll Ask For Backslashes

There is no way to specify an alternate escaping character in Perl. Except perhaps by hacking the core. :)

Backslashes are not special inside a single-quoted here-doc because there is nothing you would need to escape. Whereas in a regular single-quoted string, you might need to escape single quotes (or whatever delimiter you are using).

  • Comment on Re: If I Want Backslashes, I'll Ask For Backslashes

Replies are listed 'Best First'.
Re: Re: If I Want Backslashes, I'll Ask For Backslashes
by John M. Dlugosz (Monsignor) on Aug 10, 2001 at 08:48 UTC
    Yea there is: ask Damian.

    Seriosly, use a source filter modeule.