CGI-FastTemplate
view release on metacpan or search on metacpan
FastTemplate.pm view on Meta::CPAN
$tpl->clear_define();
$tpl->clear_href();
$tpl->clear_tpl();
$tpl->clear_parse();
=head2 Variables
A variable is defined as:
$[A-Z0-9][A-Z0-9_]+
This means, that a variable must begin with a dollar sign '$'.
The second character must be an uppercase letter or digit 'A-Z0-9'.
Remaining characters can include an underscore.
As of version 1.07 variables can also be delimited by curly brackets.
${[A-Z0-9][A-Z0-9_]+}
1.03 Thu Oct 15 10:42:14 EDT 1998
- minor change to prevent spurious warnings under -w (e.g. {strict}
becomes {"strict"})
1.02 Tue Sep 22 08:57:29 EDT 1998
- fixed bug that allowed first character after '$' to be a digit.
Variables are now: $[A-Z][A-Z0-9_]+
Thanks to: Benjamin Low <b.d.low@unsw.edu.au>
- add strict() no_strict() which turns on/off complaints to STDERR
when a variable is found but no value found for it.
1.01 Tue Sep 15 10:01:44 EDT 1998
- added clear(SCALAR) which clears the scalar from the parsed
hash. i.e.
( run in 0.265 second using v1.01-cache-2.11-cpan-cc502c75498 )