Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Dynamic variable naming in Template Toolkit

by agianni (Hermit)
on May 31, 2007 at 16:03 UTC ( [id://618525]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Dynamic variable naming in Template Toolkit
in thread Dynamic variable naming in Template Toolkit

That did it, in fact the code I posted above:

[% var = 'foo'; $var = 'bar'; # now $foo eq 'bar'! %]

actually works without the braces, I found a typo in my code :P

perl -e 'split//,q{john hurl, pest caretaker}and(map{print @_[$_]}(joi +n(q{},map{sprintf(qq{%010u},$_)}(2**2*307*4993,5*101*641*5261,7*59*79 +*36997,13*17*71*45131,3**2*67*89*167*181))=~/\d{2}/g));'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-19 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found