The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dotiac::DTL::Addon::case_insensitive: Ignore case of Dotiac variables

SYNOPSIS

Load from a Dotiac::DTL-template:

        {% load case-insensitive %}

Load in Perl file for all templates:

        use Dotiac::DTL::Addon::case_insensitive; #Note the underline instead of the minus

INSTALLATION

via CPAN:

        perl -MCPAN -e "install Dotiac::DTL::Addon::case_insensitive"

or get it from https://sourceforge.net/project/showfiles.php?group_id=249411&package_id=306751, extract it and then run in the extracted folder:

        perl Makefile.PL
        make test
        make install

DESCRIPTION

This will make variable lookups become case-insensitive.

        {{ Data }} == {{ DAtA }} == {{ DaTa }} == ...
        {{ var.Foo }} == {{ var.foo }} == {{ var.FOO }} == ...

"Filter and tag names stay case sensitive".

INTERNALS

devar_var

This function of Dotiac::DTL::Core will be overwritten.

dotiac_get_all_methods

Addon to UNIVERSAL, which gets all methods, stolen from the perl 6 RFC 335 (http://dev.perl.org/perl6/rfc/335.html);

BUGS

This will make Dotiac slower.

Please report any bugs or feature requests to https://sourceforge.net/tracker2/?group_id=249411&atid=1126445

SEE ALSO

Dotiac::DTL, Dotiac::DTL::Addon, http://www.dotiac.com, http://www.djangoproject.com

AUTHOR

Marc-Sebastian Lucksch

perl@marc-s.de