Hammer Spherical
% if ($proj eq 's') {
<& /model/fieldmapsph.js, tjd => $tjd, show_plan => 's23456' &> % } else {
<& /model/fieldmap.js, tjd => $tjd, show_plan => 's23456' &> % }
<%args> $nn => 55987 $proj => 'h' $model => 'psmops_ps1_mdrm137' <%init> use PS::MOPS::DC::Instance; # Create a connection to the database specified by $model # and save it in the mason request object. my $inst = PS::MOPS::DC::Instance->new(DBNAME => $model); $m->notes('MODEL', $model); $m->notes('INST', $inst); my $tjd = $nn - 49999;