Kevin McGrath
and 1 contributors

NAME

Template::Plugin::LLHash - use Tie::LLHash with Template Toolkit

SYNOPSIS

  [% USE llhash  = Class.LLHash %]

  [% llhash.insert('first',1) %]

  [% llhash.last('last', 'four' ) %]

  [% llhash.insert('second', 'two', 'first' ) %]
  
  [% llhash.insert_before('third',3,'last') %]

  [% llhash.keys %]

DESCRIPTION

Use Tie::LLHash with Template Toolkit Templates.

OBJECT METHODS

add($KEY, $VALUE)
current_key
current_value
delete($KEY)
first([$KEY,$VALUE])
insert($KEY, $VALUE, [$INSERT_AFTER_KEY])
insert_after($KEY, $VALUE, [$INSERT_BEFORE_KEY])
insert_before($KEY, $VALUE, [$INSERT_BEFORE_KEY])
key_before($KEY)
key_after($KEY)
keys
last([$KEY,$VALUE])
next
prev
pop
push($KEY,$VALUE)
reset
unshift($KEY,$VALUE)
value_of($KEY)

TODO

    A lot. Going to handle errors in a nicer Template type way. Write more documentation, including an example of how I use this module to create the HEAD block for an HTML page.

AUTHOR

    Kevin C. McGrath
    CPAN ID: KMCGRATH

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

perl(1).