-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mark Hughes wrote:
> <h2><% $ism->loc('Contact us') %></h2>
> Where $ism is a global Singleton created by the handler and loc is a
> method which use Locale::Maketext to do the translation.
<h2><% 'Contact us' | loc %></h2>
^ looks better ;-)
As in, same story, different approach (custom escape flag that does the
same thing).
Even more, you could drop all those method/flag calls by involving a
content filter - trickier and usually gives worse performance :(
cheers
- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----
iD8DBQFEyJXZtZHp/AYZiNkRApOhAJ9zsjy98oyItSbz6l0qlFkxoLwc3gCgqOZq
q8OYzxwQsxbSwJtmQHi6JjY=
=FB8+
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users