Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Toolkit::Template - uc() and lc(), other simple formatting mutexes

by haoess (Curate)
on Apr 23, 2008 at 11:13 UTC ( #682364=note: print w/ replies, xml ) Need Help??


in reply to Template::Toolkit - uc() and lc(), other simple formatting mutators - see TT Filters!

[% use String %] [% String.new(myvar).upper() %]

Nice, but why not use a Filter:

[% myvar | upper %]

-- Frank


Comment on Re: Toolkit::Template - uc() and lc(), other simple formatting mutexes
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://682364]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (20)
As of 2015-07-06 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (80 votes), past polls