Query: html::template::plugin::dot::helpers
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
HTML::Template::Plugin::Dot::Helpers(3pm) User Contributed Perl Documentation HTML::Template::Plugin::Dot::Helpers(3pm)NAMEHTML::Template::Plugin::Dot::Helpers - Add useful objects to your templatesVERSIONVersion 0.04SYNOPSISuse HTML::Template::Plugin::Dot::Helpers; Then in your template, you can do: <tmpl_var Number.format_currency(orderitem.price)>DESCRIPTIONThis helper class adds some useful objects to your Dot-enabled templates (see HTML::Template::Plugin::Dot). Added objects Number An extended Number::Format object. See Number::Format for documentation. Note that only the object oriented methods are supported here. I've added several generic numerical methods. Most (well, all in this release) are boolean methods, useful in "<tmpl_if>s". They are: equals - test whether two numbers are equal (==) le, lt, ge, gt - test how two numbers compare (implemented with <=, <, >=, > respectively) The following is not yet implemented. String Adds generic string testing functions similar to the above: equals - test whether two strings are equal (eq) le, lt, ge, gt - test how two strings compare lexicallyAUTHORRhesa Rozendaal, "<rhesa@cpan.org>"BUGSPlease report any bugs or feature requests to "bug-html-template-plugin-dot-helpers@rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-Template-Plugin-Dot-Helpers>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.ACKNOWLEDGEMENTSCOPYRIGHT & LICENSE Copyright 2005 Rhesa Rozendaal, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-01-04 HTML::Template::Plugin::Dot::Helpers(3pm)
Similar Topics in the Unix Linux Community |
---|
Comparing two numbers |
dot2gdl 0.1.80067 (Default branch) |
HTMLTemplate 1.5.0 (Default branch) |
Encoding Information in Clustered-Dot Halftones |
Joining 2 Files |