File: index.html

package info (click to toggle)
libapache2-authcassimple-perl 0.10-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 224 kB
  • sloc: perl: 1,878; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html>
<head></head>
<body>
% my $noun = 'World';
           Hello <% $noun %>!
           How are ya?
<form action='' method='post'>
<input type='text' name='test' value='<% $noun %> <% $test %>'>
<input type='text' name='test2' value='2 <% $noun %> <% $test2 %>'>
<input type='submit'>
</form>
<br><b>REMOTE_USER:</b> -<% $ENV{REMOTE_USER} %>-
<br><b>$r->user():</b> -<% $r->user() %>-
<p> <b>Direct link:</b> <a href="?test=yyyy&test2=aaa">?test=yyyy&test2=aaa</a>
<pre>
% foreach my $key (sort keys %ENV) {
% print $key .' = '. $ENV{$key}."\n"; 
% }
</pre>
</body>
</html>
<%args>
$test => undef
$test2 => undef
</%args>