File: mason_example.cgi

package info (click to toggle)
libhtml-mason-perl 1%3A1.58-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,796 kB
  • sloc: perl: 8,618; sh: 49; makefile: 2
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;