# Make sure a report name is defined my $report = param('report'); if (!defined($report)) { die "You must supply a filename.\n"; }