Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Template toolkit Adding Values to Variable

by merlyn (Sage)
on Mar 01, 2010 at 20:19 UTC ( #825999=note: print w/replies, xml ) Need Help??


in reply to Re^2: Template toolkit Adding Values to Variable
in thread Template toolkit Adding Values to Variable

I deliberately used GET because I want to execute the calculation and interpolate it into the text. Without GET, you're chosing one or the other.

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Replies are listed 'Best First'.
Re^4: Template toolkit Adding Values to Variable
by seekperlwisdom (Acolyte) on Mar 01, 2010 at 21:34 UTC

    Thanks for clearing that for me. But i am stil stuck. i tried the GET method but still same result. i can get the value out of it in the [% FOREACH %] block but as soon it comes out of block it goes back to what it was before the block started.

    should i assume that in TT ,From [% FOREACH %] block , we cannot export the value which i believe is possible in PERL itself.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://825999]
help
Chatterbox?
[1nickt]: Corion this is an android phone? If so, are you encountering problems with recent upgrades? Lately my phone dies suddenly quite often, seemingly coredumps caused by interaction of two actions, eg phone playing a sound and user swiping simultaneously :-/
[Corion]: 1nickt: Yeah, it's Android, but it's CM 11, so fairly old. I'm looking for a newer (china) phone, but I think I'll wait until Oreo ROMs get out for them
[Corion]: Otherwise, the Vernee Mars looks tempting
[Corion]: ... but alas, no Oreo support in sight yet, and I prefer to flash a stock Android over the custom ROMs, and Oreo promises to make the userland more maintainable.
[LanX]: Corion: shouldn't pmdev have permission to view code of nodelets?
[1nickt]: And of course everything is "unlocked" in EU, right?
[1nickt]: I think there are far more choices than in the US
LanX You don't have access to  Function Nodelet.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-11-18 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?