Re: code evaluation in regexp failing intermittantly

2002-10-26 Thread Rodney Hampton
Gang, I'm forwarding this to the list. Sorry Danny for sending it to your personally. Rodney Hampton Danny Rathjens wrote: Looks like you accidentally replied to just me instead of the group. Don't ask me why we don't have a reply-to header on the list, ;) Rodney Hampton wrote: Perrin,

Re: code evaluation in regexp failing intermittantly

2002-10-26 Thread Perrin Harkins
Rodney Hampton wrote: I really only need 3 tags: one to link the templates together, one to bring in images, and one to call code that can by dynamically inserted. Like an eval, or a subroutine call? Either way, this is all covered by most of the other systems. Even Apache::SSI can do

Re: code evaluation in regexp failing intermittantly

2002-10-26 Thread Josh Chamas
Rodney Hampton wrote: Perrin, Danny, et. al. I looked over the comparison document as well as the perldocs on all the templating systems I could find on CPAN before embarking on this journey. I'll add in how Apache::ASP can be used to solve this problem... I really only need 3 tags: one to

Re: code evaluation in regexp failing intermittantly

2002-10-24 Thread Richard Clarke
If you're doing it because hacking perl is fun and you're in no rush, then go ahead and have a good time. And if so, would you like to swap jobs? please? Rich

code evaluation in regexp failing intermittantly

2002-10-23 Thread Rodney Hampton
Please bear with me. I have a really weird question. Let me preface it by stating that I'm building a very simple templating application. I asked on perlmonks whether or not code evaluation in regexp is going to be deprecated and the answer I got was that this feature wasn't going away.

Re: code evaluation in regexp failing intermittantly

2002-10-23 Thread Ged Haywood
Hi there, On Wed, 23 Oct 2002, Rodney Hampton wrote: Sometimes it does it, sometimes not. Have a look in the mod_perl Guide. You'll find it if you look at the mod_perl home page, http://perl.apache.org There's a section called Sometimes it works. sometimes it doesn't. I'm not telling you

Re: code evaluation in regexp failing intermittantly

2002-10-23 Thread Ed
On Wed, Oct 23, 2002 at 02:24:48PM -0500, Rodney Hampton wrote: Can any of you gurus please help! A wise guru would help by directing you to: http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html

Re: code evaluation in regexp failing intermittantly

2002-10-23 Thread Rodney Hampton
Thanks to some help, the answer was simply to enclose all my code evaluation regexp statements with eval q{}; (strangely, even those within an eval block already needed this same kick in the pants) I think I'm back on track now. Sorry for the lengthy post. Regards, Rodney Hampton Rodney

Re: code evaluation in regexp failing intermittantly

2002-10-23 Thread Perrin Harkins
Rodney Hampton wrote: Let me preface it by stating that I'm building a very simple templating application. [...] Not satisfied, I wanted to make it possible to do something like: % code_ref Util::Test_Util::test_expand % and have it swap in the text output from the sub into the template. That

Re: code evaluation in regexp failing intermittantly

2002-10-23 Thread Danny Rathjens
Very useful document comparing templating systems: http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html Especially the funny debate between mini-lang and in-line, 8^) Perrin Harkins wrote: Rodney Hampton wrote: Let me preface it by stating that I'm building a very simple