File: README

package info (click to toggle)
libhtml-template-pluggable-perl 0.22%2B~cs0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 336 kB
  • sloc: perl: 541; makefile: 17
file content (68 lines) | stat: -rw-r--r-- 1,719 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
NAME

    HTML::Template::Plugin::Dot::Helpers - Add useful objects to your
    templates

SYNOPSIS

      use HTML::Template::Plugin::Dot::Helpers;

    Then in your template, you can do:

      <tmpl_var Number.format_currency(orderitem.price)>
      

DESCRIPTION

    This 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 lexically

AUTHOR

    Rhesa Rozendaal, <rhesa@cpan.org>

BUGS

    Please 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.

ACKNOWLEDGEMENTS

COPYRIGHT & 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.