Re: how to include a file

2002-03-18 Thread Adam Witney
On the subject of Embperl, I have been trying to install HTML-Embperl-1.3.4, however the tests fail Any help would be greatly appreciated? (perl 5.6.0) [mrc1-003:local/install/HTML-Embperl-1.3.4] adam% make test PERL_DL_NONLAZY=0 /usr/local/bin/perl -Iblib/arch -Iblib/lib

Re: how to include a file

2002-03-18 Thread Ray Zimmerman
At 6:35 PM -0600 3/17/02, Puneet Kishor wrote: I guess it is a matter of getting used to one way of doing things versus another. I actually find it very easy if everything goes through the one bottleneck of index.???. Esp. useful if I am building in extensive error-trapping on an application

Re: how to include a file

2002-03-18 Thread Kee Hinckley
At 6:35 PM -0600 3/17/02, Puneet Kishor wrote: I am glad I asked, because I just spent a good part of last night setting up Mason. I can't get it to work correctly because my mod_perl is buggered up (my previous emails ask for help on that issue), but I have got it working as a That

Re: how to include a file

2002-03-17 Thread Kee Hinckley
At 7:37 PM -0600 3/16/02, Puneet Kishor wrote: I have one index.pl (this is a web app), and everything passes through this. So, if the call is to index.pl?do=login then the login page is included, if the call is to index.pl?do=verify then the verify page is included. This is how I work in the

Re: how to include a file

2002-03-17 Thread Puneet Kishor
On Sunday, March 17, 2002, at 09:26 AM, Kee Hinckley wrote: Using Embperl's EmbperlObject model you could do this automatically in a readable fashion. Loading login would wrap it in a top-level template automatically. Or alternatively you could have login.html include index.pl and

Re: how to include a file

2002-03-16 Thread Michael Maibaum
On Sat, Mar 16, 2002 at 07:37:18PM -0600, Puneet Kishor wrote: question from a newbie. How do I include a code fragment in a perl script so it first gets included and then interpreted/compiled? Ok. that's the short question. In other words, this is what I am trying to do -- I have one

Re: how to include a file

2002-03-16 Thread Michael Maibaum
On Sat, Mar 16, 2002 at 10:30:44PM -0600, Puneet Kishor wrote: Michael, Thanks for the Mason tip. It does look exactly like what I need. Although I wonder how it compares with embperl... anyone any thoughts? I don't really know embperl well, so I'll leave that to someone else.. On another

Re: how to include a file

2002-03-16 Thread Puneet Kishor
On Saturday, March 16, 2002, at 10:49 PM, Michael Maibaum wrote: On another note... I saw that the mod_perl lines were commented out in my httpd.conf. Since mod_perl is required for Mason (well, Mason performs best with mod_perl), I uncommented the mod_perl lines. Now httpd won't start. I