Re: [Boston.pm] file layout and installing CGI applications

2005-08-15 Thread Larry Underhill
On Mon, 2005-08-15 at 00:29 -0400, Tom Metro wrote: The basic question, though, remains. Although there are a bunch of ways to pull this off, what I'm trying to determine is which is the least intrusive to the admin and what are admins expecting to see these days. Is an admin more likely

Re: [Boston.pm] CGI::Prototype

2005-08-15 Thread Ricker, William
as I recall, it still lacks things like sessions or authentication. Not sure about that. Randal evolved it for a shopping-cart type app, so I would think it has something like that. More importantly, does anyone get Randal's CGI::Prototype? See

Re: [Boston.pm] Trying to learn about the problems with eval()

2005-08-15 Thread Kripa Sundar
Dear Uri, Thanks to you and the others for your prompt responses. another bad point about eval is that it can access and modify lexicals and globals anywhere in the code. so that can lead to action at a distance and very hard to find bugs. I don't quite follow. Globals are anyway

Re: [Boston.pm] Trying to learn about the problems with eval()

2005-08-15 Thread Kripa Sundar
Dear Tom, You seem to be blending the concepts of eval and system. Sorry about the confusing presentation there. My friend had actually written something like: --\/BEGIN-\/-- $string = system(\cat $somefile | mail -s \\\$something\\\

Re: [Boston.pm] Trying to learn about the problems with eval()

2005-08-15 Thread Ron Newman
On Aug 15, 2005, at 11:17 AM, Kripa Sundar wrote: I asked him to re-write it as: system(cat $somefile | mail -s '$something' $audience); Which of course should really be written as: system(mail -s '$something' '$audience' $somefile); ___

Re: [Boston.pm] Trying to learn about the problems with eval()

2005-08-15 Thread Kripa Sundar
Which of course should really be written as: system(mail -s '$something' '$audience' $somefile); Yes, of course. It is one of the classic useless uses of cat(1). I had meant to write this also to my friend, but forgot in my indignation over six backslashes. :-) peace,

Re: [Boston.pm] CGI::Prototype

2005-08-15 Thread Ben Tilly
On 8/15/05, Ricker, William [EMAIL PROTECTED] wrote: [...] CGI::Prototype offers a _different_ way of factoring out the you always had to write this glue code code. Catalyst uses the Perl Attributes annotations to factor out glue-code, which is classy demonstration that attributes are a good

Re: [Boston.pm] Trying to learn about the problems with eval()

2005-08-15 Thread Kripa Sundar
Dear Ben, another bad point about eval is that it can access and modify lexicals and globals anywhere in the code. so that can lead to action at a distance and very hard to find bugs. [...] I'm not sure if this is what is referred to, but it applies. If this is dynamic code where

Re: [Boston.pm] Trying to learn about the problems with eval()

2005-08-15 Thread Ben Tilly
On 8/15/05, Kripa Sundar [EMAIL PROTECTED] wrote: Dear Ben, another bad point about eval is that it can access and modify lexicals and globals anywhere in the code. so that can lead to action at a distance and very hard to find bugs. [...] I'm not sure if this is what is

Re: [Boston.pm] Trying to learn about the problems with eval()

2005-08-15 Thread Bob Rogers
From: Kripa Sundar [EMAIL PROTECTED] Date: Mon, 15 Aug 2005 14:04:48 -0400 Dear Ben, another bad point about eval is that it can access and modify lexicals and globals anywhere in the code. so that can lead to action at a distance and very hard to find bugs. [...]

[Boston.pm] apache with attributes redux RE: CGI::Prototype

2005-08-15 Thread Ricker, William
Off-list, I'm told my comment CGI::Application uses Attributes for some things as well, so ... someone must have [f]igured it out? is only partially right, as Attributes are only in a C:A:Plugin, http://search.cpan.org/~thilo/CGI-Application-Plugin-AutoRunmode-0.08/Au toRunmode.pm Of course,