Warning: These wiki pages have not been edited in years and may well be out of date/inaccurate. We recommend that you use them as a starting point for further investigation, rather than gospel.
Here is a small script I'm using for syntax checking.
Just call it with "./compile.pl filename"
#! /usr/bin/perl -w
my $interp = HTML::Mason::Interp->new(allow_globals => [ qw($r $m) ]);
my $file = shift;
die $@ if $@;