The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Template::Plugin::CaseVMethods - uppercase and lowercase letters

SYNOPSIS

  [% USE CaseVMethods %]

  Hello [% name.ucfirst %].
  ...or should I say...
  HEY [% name.uc %] PAY ATTENTION I'M SPEAKING TO YOU.

DESCRIPTION

Provides four vmethods (uc, ucfirst, lc, lcfirst) that perform the same actions as their Perl counterparts (return the string in uppercase, return the string as is but with the first letter capitalised, return the string in lower case, and return the string as is but with the first letter lowercased.)

AUTHOR

Written by Mark Fowler <mark@twoshortplanks.com>

Copyright Profero 2003. All Rights Reserved.

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

BUGS

None known.

The tests might fail on locales where uppercase "z" isn't "Z" (and vice versa) but the module will do the right thing (where the right thing is defined as what your perl does.)

Bugs should be reported to the open source development team at Profero via the CPAN RT system.

http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Template::Plugin::CaseVMethods.

SEE ALSO

Template::Plugin::VMethods