File: test.m

package info (click to toggle)
libhtml-mason-perl 1%3A1.26-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,636 kB
  • ctags: 1,260
  • sloc: perl: 13,880; sh: 154; makefile: 47
file content (11 lines) | stat: -rw-r--r-- 205 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
<p> This is a test </p>

% if ($r->can('uri')) {
<p> uri (from mod_perl) = <%$ENV{REQUEST_URI}%> </p>
% } else {
<p> uri (from CGI env) = <%$ENV{REQUEST_URI}%> </p>
% }

<%attr>
title => "A test"
</%attr>