package maintmpl;  # who i am
use ehmod qw(fixdash mydatatmpl);         # who i need
$IDENT = q$Id: maintmpl.pm,v 1.1.1.1 2002/01/14 22:41:30 chouser Exp $;

sub maintmpl {
    my %d = @_;

    # apply template
    $retval = mydatatmpl (
      -timestamp => scalar(localtime),
      %d,  # this passes along any data from leaf files and other templates
    );

    return $retval;
}

__DATA__
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org" />
    <title>free.linux.hp.com/~agriffis - <TMPL_VAR title></title>
  </head>

  <body>
    <form action="#TMPL_VAR action#" method="post">
    <TMPL_LOOP body>
      <h1>#TMPL_VAR title#</h1>
      #TMPL_VAR block#
    </TMPL_LOOP>
    </form>
  </body>
</html>

<!-- vim:set sw=2: -->
