FW: public and private code branch
Any good idea here? Steve Lihn FIS Database Support, Merck & Co., Inc. Tel: (908) 423 - 4441 -Original Message- From: Lihn, Horng-Twu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 4:53 PM To: [EMAIL PROTECTED] Subject: public and private code branch Does anyone have an example how to set up httpd.conf so that there is a separation between public and private code: .../epl/ public/ index.html private/ my private .epl code The DocumentRoot will be .../epl/public/ Yet in index.html I can Execute stuff in private/ Thanks, Steve Lihn FIS Database Support, Merck & Co., Inc. Tel: (908) 423 - 4441 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE:require -- Mason vs embperl
Kee, This helps. But if I have to do this in very page, isn't this post a serious problem to the memory consumption? Or not? -Steve >Maybe I'm missing something, because this seems simple. >[- require "foo.pl"; -] >will load it everytime the page is loaded >[! require "foo.pl"; !] >will load it once the first time the page is loaded. >I use libraries from within Embperl all the time, I don't believe in >putting full code definitions in front of the designers.
embperl [* *] does not work
I am trying [* *] tag and the code as simple as this does not work. I am using embperl 1.3.2 build from theoryx5.uwinnipeg.ca for Windows. Test [* $c = 5; *] count: [+ $c +] [* $c++; *] count: [+ $c +] - Steve Lihn FIS Database Support, Merck & Co., Inc. Tel: (908) 423 - 4441
RE: Mason vs embperl
I have a library of perl routine that I call in cgi-bin environment where I usually "require". I could not find any way to require it and use it in Embperl. I can not find any doc describing how this is done. (I can require it in the Mason handler.pl) Can you shed a light? I think it has something to do with the object model which I can not fully comprehend so far. Steve Lihn FIS Database Support, Merck & Co., Inc. Tel: (908) 423 - 4441 -Original Message- From: Kee Hinckley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 12:38 PM To: Lihn, Horng-Twu Cc: [EMAIL PROTECTED] Subject: Re: Mason vs embperl At 11:39 AM -0500 12/18/01, Lihn, Horng-Twu wrote: >Hi, >I am planning a website and considering either >using Mason or using embperl. I already digged into >Mason and am reading embperl manual. >Can someone shed some light about these two tools with regard to >ease of use, current development effort, and the future support level? That could start an interesting battle. I'll just say that I've found support for embperl to be excellent, and that I went with it because it has an understanding of the underlying html, making it very easy to fill in forms, iterate over table rows with very little code. Also, if you are doing database work, look at using Embperl in conjunction with DBIx::Recordset. And of course, for Mason-style objects, look at EmbperlObject. If perl is for lazy programmers, it seems to me that embperl carries on that tradition by being designed for lazy html scripters. -- Kee Hinckley - Somewhere.Com, LLC http://consulting.somewhere.com/ [EMAIL PROTECTED] (or ...!alice!nazgul for time travelers :-) I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.
Mason vs embperl
Hi, I am planning a website and considering either using Mason or using embperl. I already digged into Mason and am reading embperl manual. Can someone shed some light about these two tools with regard to ease of use, current development effort, and the future support level? Thanks, Steve Lihn