Skip Menu |

This queue is for tickets about the HTML-Mason CPAN distribution.

Report information
The Basics
Id: 103916
Status: rejected
Priority: 0/
Queue: HTML-Mason

People
Owner: Nobody in particular
Requestors: kes-kes [...] yandex.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: can not use filter inside <%perl>
The documentation http://search.cpan.org/~drolsky/HTML-Mason-1.56/lib/HTML/Mason/Devel.pod#Escaping_expressions does not cover how do same thing inside <%perl> like this does: <% $file_data |h %> I try `$m->print( '<% $file_data |h %>' )` but this does not work.
Inside a given tag or %-line, Mason does not parse for _more_ Mason tags. Based on this and another ticket, I think you may have some fundamental misunderstanding about how Mason works. Any given construct, whether it be a %-line, a block, or a balanced tag, is not parsed for more Mason syntax inside it. Instead, it's turned into Perl, sometimes with some minor additional parsing (as with something like "<% $foo | h %>"). You cannot embed Mason tags inside other Mason tags. That will simply not work.