DOKK / manpages / debian 12 / librunapp-perl / RunApp::Template.3pm.en
RunApp::Template(3pm) User Contributed Perl Documentation RunApp::Template(3pm)

RunApp::Template - Base class for RunApp template service

  my $cron = RunApp::Template->new(
    file => "file to be generated",
    source => "template file",
    .. other params, passed to template ..
  );

The class allows inherited classes to use Template, and will use the DATA section of the subclass as default template if not otherwise specified.

Chia-liang Kao <clkao@clkao.org>

Refactored from works by Leon Brocard <acme@astray.com> and Tom Insam <tinsam@fotango.com>.

Copyright (C) 2002-5, Fotango Ltd.

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.

2022-06-17 perl v5.34.0