<% my $classnum = $cgi->param('classnum'); $classnum =~ /^(\d+)$/ or eidiot "illegal classnum $classnum"; $classnum = $1; my $inventory_class = qsearchs('inventory_class', { 'classnum' => $classnum } ); %><%= include("/elements/header.html", $inventory_class->classname. 's') %>
Import a file containing <%= $inventory_class->classname %>s, one per line.

Filename:

<%= include('/elements/footer.html') %>