Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Rex::Template::NG(3)  User Contributed Perl Documentation Rex::Template::NG(3)

NAME
       Rex::Template::NG - simple template engine (replacing Rex::Template)

SYNOPSIS
	use Rex::Template::NG;

	my $template = Rex::Template->new;

	print $template->parse($content, \%template_vars);
	print $template->parse($content, @template_vars);

DESCRIPTION
       This is intended	as a replacement of the	original Rex::Template,
       therefore its interface and syntax are identical. The main differences
       are:

       o   produces "more correct" output in case when comping is required

       o   gives better	diagnostics in case of errors

       It is recommended to use	this module instead of Rex::Template.

DIAGNOSTICS
       It prints the whole template as "INFO" level messages, and then a
       message about the problem with its context and line number (e.g.
       "Unknown	variable name $var on code line: ... line: ...").

CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
perl v5.32.1			  2020-12-05		  Rex::Template::NG(3)

NAME | SYNOPSIS | DESCRIPTION | DIAGNOSTICS | CONFIGURATION AND ENVIRONMENT | DEPENDENCIES | INCOMPATIBILITIES | BUGS AND LIMITATIONS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Rex::Template::NG&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help