File: mason_example.cgi

package info (click to toggle)
libhtml-mason-perl 1%3A1.39-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,072 kB
  • ctags: 1,535
  • sloc: perl: 17,624; sh: 187; makefile: 12
file content (9 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
#!/usr/bin/perl -w
# to use SpeedyCGI, change first line to: #!/usr/bin/speedy

use HTML::Mason::CGIHandler;
use CGI;
use CGI::Cookie;

my $h = HTML::Mason::CGIHandler->new(data_dir => "/var/cache/mason");
$h->handle_request;