Rex::Template::NG(3)
π NAME π
okay so this is the User Contributed Perl Documentation page for Rex::Template::NG(3), and the module itself is Rex::Template::NG β simple template engine (replacing Rex::Template) β¨
β¨ SYNOPSIS β¨
bestie, here's the exact code vibe:
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:
- produces
"more correct"output in case when comping is required π - gives better diagnostics in case of errors π₯
It is recommended to use this module instead of Rex::Template. periodt π
π 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: ..."). no cap, it really tells you where the chaos is πβ¨
π CONFIGURATION AND ENVIRONMENT π
nothing listed here on this page, bestie π«Ά
π¦ DEPENDENCIES π¦
nothing listed here on this page, bestie π«Ά
π INCOMPATIBILITIES π
nothing listed here on this page, bestie π«Ά
π BUGS AND LIMITATIONS π
nothing listed here on this page, bestie π«Ά
mwah π β source/version: perl v5.42.3, date: 2023-08-05, and this is the Rex::Template::NG(3) manpage. bye bestie, go slay those templates π«Άβ¨
π¦ where this page comes from
- nixos 26.05: perl5.42.3-Rex 1.14.3
- nixpkgs unstable: perl5.42.3-Rex 1.14.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms