jey has asked for the wisdom of the Perl Monks concerning the following question:

Dear fellow Monks,

About a year or two ago, I read once that there was a module that was automatically escaping characters when using some scalar in a regex

So the module did something like that

my $re = "F+g?" my $escaped_re = FANTASTIC::MODULE::Some_function($re); # $ is now F\+g\?

Does anyone known by any change what that module is? I tried CPAN and super search but could not find it.

--
jey

Replies are listed 'Best First'.
Re: Is there a module that automatically escapes characters?
by friedo (Prior) on Feb 10, 2006 at 18:36 UTC

      Thanks that was fast, useful and helpful

      --
      jey