Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Template Toolkit output to a scalar?

by theguvnor (Chaplain)
on Jan 15, 2005 at 17:34 UTC ( #422529=note: print w/replies, xml ) Need Help??


in reply to Re: Template Toolkit output to a scalar?
in thread Template Toolkit output to a scalar?

Now *that* is cool. Definitely hadn't stumbled on that tidbit. ++thor

[Jon]

  • Comment on Re^2: Template Toolkit output to a scalar?

Replies are listed 'Best First'.
Re^3: Template Toolkit output to a scalar?
by merlyn (Sage) on Jan 17, 2005 at 17:12 UTC

      Definitely 5.8. You can do something similar with IO::Scalar with 5.6 - I've got code that checks the perl version, and if 5.8, uses the \$scalar trick, but if 5.6, uses IO::String. Which, of course, doesn't actually come with 5.6, but if you are making a CPAN submission, you can easily put a pre-req on IO::String. Maybe not quite as easy to do if you only want the pre-req for 5.6, but still possible.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2020-03-30 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (175 votes). Check out past polls.

    Notices?