Help for this page

Select Code to Download


  1. or download this
    use vars qw/$template/;
    
    ...
      $template->param(home => $ENV{HOME});
      $template->param(path => $ENV{PATH});
    }
    
  2. or download this
    our $template;
    
    ...
      $template->param(home => $ENV{HOME});
      $template->param(path => $ENV{PATH});
    }
    
  3. or download this
    package Page;
    use HTML::Template;
    ...
        return $selft->template->output;
    }
    1;
    
  4. or download this
    use Page;
    
    ...
    $p->template->param(path => $ENV{path});
    
    $p->output;