[htmltmpl] Template variables with dots in HTML::Template::Expr
Brought to you by:
samtregar
From: Roel P. \(B. & Cnossen\) <ro...@bn...> - 2006-12-05 08:23:18
|
As a WebGUI user/developer I (and all other WebGUI people :-) have the need to be able to use variables with dots, and this is not possible at the moment. However there's a simple solution: in the HTML::Template::Expr module the definition of 'var' in the $GRAMMAR section needs the inclusion of the dot character: var : /[A-Za-z_][A-Za-z0-9_.]*/ { \\\$item[1 <file://$item[1/> ] } =20 This way dots are allowed inside the variable names! Would it be possible to include this solution in the next release? Cheers, Roel Plieger. =20 |