| tl2 | thanks all :-P |
| Randal | s/both/either/ I've used both approaches |
| rhizo | TT2 and Mason seem too heavy weight for the purpose; something simple like HTML::Template would do just fine; or even to have a function for ea. of the page elements programmatically output markup using CGI.pm |
| Randal | why is TT2 "too heavy"? just use the parts you need, ignore the rest |
| LeoNerd | You must have got the leadlined one |
| Randal | that's like saying "perl is far too powerful for my 10-line script" Yeah, lead-lined, to keep the nukes out |
| action | LeoNerd ponders the concept of a gold-plated perl script |
| LeoNerd | ponders the concept of a gold-plated perl script |
| rhizo | no need to call for excavator when a tea spoon would do nicely then again, nothing prevents one from attaching a tea spoon to an excavator arm |
| Randal | I don't think that's a good analogy here |
| Pete_I | nothing like eating with a swiss army chainsaw :) |
| Randal | otherwise, you'd throw out Perl too for the reason I just said so why is using TT2 for a small templating job any different from using Perl for a small scripting job? |
| Ani-_ | I think I'm becoming crazy... |
| Pete_I | Ani-_, crazy people don't think they're crazy |
| Ani-_ | There is a module (Spreadsheet::ParseExcel)... if I use 0.2603 everything works. If I use 0.28 it doesn't work. I just created a test script that tests everything I use from S::P. The test script works on both versions. :( |
| sidnelson | how works stdin stdout stderr in microsoft window$$$ ?? |
| Randal | it works see "perldoc perlport" for considerations |
| sidnelson | ok |
| Randal | in general, reading from STDIN waits for input, and writing to STDOUT displays it, just as you would expect there are some minor differences of ascii vs binary files |
| rhizo | well, installing, configuring and learning, or even just getting the hang of the basics of TT is hardly trivial, and certainly time consuming; you needn't preach to the choire, Randal,--I love TT--but for a newcommer to the templating world choosing a chainsaw tool right off the bat might going be a wee overboard |
| sidnelson | thanks |
| Ani-_ | Oh wait. I missed 2 values... |
| Randal | rhizo - again, the simplest parts of TT are far easier to teach than the simplest parts of Perl and *easier* to teach than HTML::Template, which I consider crazy |
| rhizo | yes, that it is ;) |
| eightbitbastard | can I undef multiple scalars at a time? |
| pstickne | TT2 is amazing... but it's quite large and has a compiled backend :-/ |
| Randal | [% FOR i = [1..10 %]The count is [% i %][% END %] try that in HTML::Template oops, but correctly. :) |
| eightbitbastard | like undef ($a, $b); |
| pstickne | eightbitbastard, why do you want to do that? that just sounds like you aren't lexical'izing correctly |
| Randal | eightbitbastard - I've typed "undef($var)" only about 5 times in 10 years |