use re 'eval' error

Louis-David Mitterrand vindex+lists-markdown-discuss at apartia.org
Thu Oct 23 07:54:22 EDT 2008


Hi,

I am trying to use Text::Markdown under HTML::Mason (mod_perl) and I get
this error when calling markdown(text):

Eval-group not allowed at runtime, use re 'eval' in regex m/
( # wrap whole match in $1
!\[
(.*?) # alt text = $2
\]
.../ at /usr/share/perl5/Text/Markdown.pm line 751.

Adding "use re 'eval';" to my startup.pl file didn't help.

What is the fix?

Thanks,

--
http://www.lesculturelles.net


More information about the Markdown-Discuss mailing list