Re: Compress::Zlib problem

2001-04-20 Thread Jens-Uwe Mager
On Wed, Apr 04, 2001 at 03:47:47PM -0400, Robert Landrum wrote: One of my developers is looking for a way to take records output from a database and compress them into a gzip file on the fly, without using a file on disk. To do this, he's using Compress::Zlib and passing \*STDOUT as the

Re: [OT] Fast DB access

2001-04-20 Thread Differentiated Software Solutions Pvt. Ltd.,
Hi, Cees has found a bug in our benchmark. We were using rtrim in our select statement while doing the benchmark and this was forcing postgres to perform a table scan. We've corrected the code for this bug. We are reposting results without rtrim (creating the tables with varchar). In fact with

modperl/ASP and MVC design pattern

2001-04-20 Thread Francesco Pasqualini
an interestingfeature of JSP is the possibility to use the MVC design pattern (INPUT/OUTPUT/LOGIC separation) This is obtainedwith the "forward" instruction. How the MVC design pattern can be implemented in the mod_perl (and specifically Apache::ASP)architecture ? Thanks Francesco

Mod Perl for Apache

2001-04-20 Thread jim . a . davidson
Sirs, I am trying to build mod perl for Apache but it fails on the final make as follows: The system is AIX 4.3.2, Perl 5.6.1, Apache 3.1.19, Mod Perl 1.25 Using the flexible way of installing this,when I run the final make on the Apache build I am getting the following error messages: Target

Extracting required files

2001-04-20 Thread F.H
Hi, Does anyone know of a perl command/or a simple way that would extract all .pm and .pl that a perl script needs in order to run? Thanks __ Get your own FREE, personal Netscape Webmail account today at

RE: Extracting required files

2001-04-20 Thread Brendan McAdams
cd /toplevel dir of app grep -Hrn use * -Original Message- From: F.H [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 10:01 To: [EMAIL PROTECTED] Subject: Extracting required files Hi, Does anyone know of a perl command/or a simple way that would extract all .pm and .pl that a

RE: Extracting required files

2001-04-20 Thread Lakshmanan, Srikrishnan
I think the question being asked is , how to resolve ALL dependencies , not just the first level given in the app. For example , I may use some libs that in turn use others , and so on in multiple levels of nesting. Sri -Original Message- From: Brendan McAdams [SMTP:[EMAIL

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread Brett W. McCoy
On Fri, 20 Apr 2001, Francesco Pasqualini wrote: an interesting feature of JSP is the possibility to use the MVC design pattern (INPUT/OUTPUT/LOGIC separation) This is obtained with the "forward" instruction. How the MVC design pattern can be implemented in the mod_perl (and specifically

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread Francesco Pasqualini
- Original Message -From: "Brett W. McCoy" [EMAIL PROTECTED]To: "Francesco Pasqualini" [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Sent: Friday, April 20, 2001 5:32 PMSubject: Re: modperl/ASP and MVC design pattern On Fri, 20 Apr 2001, Francesco Pasqualini wrote: an interesting feature

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread T.J. Mather
But are there in the mod_perl architecture some guidelines and/or frameworks that encourages the MVC design patern ? Apache::PageKit is a MVC based framework. You can find it on CPAN here: http://cpan2.org/Asset/display?dist=Apache-PageKit I wrote an article on it for take23:

RE: Extracting required files

2001-04-20 Thread Andrew Ho
Hello, FHDoes anyone know of a perl command/or a simple way that would extract FHall .pm and .pl that a perl script needs in order to run? SLI think the question being asked is , how to resolve ALL dependencies , SLnot just the first level given in the app. For example , I may use some SLlibs

RE: Extracting required files

2001-04-20 Thread Stas Bekman
On Fri, 20 Apr 2001, Andrew Ho wrote: Hello, FHDoes anyone know of a perl command/or a simple way that would extract FHall .pm and .pl that a perl script needs in order to run? SLI think the question being asked is , how to resolve ALL dependencies , SLnot just the first level given in

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread Perrin Harkins
On Fri, 20 Apr 2001, Francesco Pasqualini wrote: But are there in the mod_perl architecture some guidelines and/or frameworks that encourages the MVC design patern ? I think that Apache::ASP could be (for example) the right tool, adding the "forward" feature. The forward feature looks like

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread Joshua Chamas
Francesco Pasqualini wrote: an interesting feature of JSP is the possibility to use the MVC design pattern (INPUT/OUTPUT/LOGIC separation) This is obtained with the "forward" instruction. How the MVC design pattern can be implemented in the mod_perl (and specifically Apache::ASP)

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread Ian Kallen [EMAIL PROTECTED]
You can (I have) accomplish this with mod_perl and HTML::Mason, Mason's root level autohandler can play the role of the JSP model 2 "controller servlet": dispatching logic processing to Perl objects (er, beans) and "forwarding" to a view (with the Mason $m-call_next or $m-comp mechanisms). I

Re: RE: Extracting required files

2001-04-20 Thread F.H
Thanks you guys for your replies. The purpose of knowing a program dependencies is to help troubleshoot any problems that may occur once you install your script on a different machine or a a different OS such as from NT to UNIX and vice versa where different version of Perl may be installed.

Re: Extracting required files

2001-04-20 Thread Paul Johnson
On Fri, Apr 20, 2001 at 04:05:22PM -0400, F.H wrote: using print @INC doesn't help it just points you to the lib dir in your path. The suggestion was to investigate %INC at some appropriate point (not @INC), but note that in general this problem is not soluable. Did I hear someone mutter

How to tell if scripts are mod_perl ?

2001-04-20 Thread Wayne Pascoe
Hi there, I'm trying to roll out some software by one of our 3rd party developers. I'm trying to find out if the scripts will actually be run through mod_perl and not as cgi's. The only config changes that they have specified to my Apache config is as follows : Alias /cgi-bin/

Re: How to tell if scripts are mod_perl ?

2001-04-20 Thread Chris Reinhardt
You can check the MOD_PERL envirement variable. Something like: if ($ENV{MOD_PERL}) { # We're under mod_perl } else { # strait perl here } -- Chris Reinhardt [EMAIL PROTECTED] Webmaster Dynamic DNS Network Services

Re: How to tell if scripts are mod_perl ?

2001-04-20 Thread G.W. Haywood
Hi there, On 20 Apr 2001, Wayne Pascoe wrote: I'm trying to find out if the scripts will actually be run through mod_perl and not as cgi's. http://perl.apache.org/guide 73, Ged.

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread Joachim Zobel
At 15:44 20.04.2001 +0200, you wrote: an interesting feature of JSP is the possibility to use the MVC design pattern (INPUT/OUTPUT/LOGIC separation) This is obtained with the "forward" instruction. How the MVC design pattern can be implemented in the mod_perl (and specifically Apache::ASP)

deprecated our() indicated in perldoc of Getopt::Std

2001-04-20 Thread Alan E. Derhaag
I upgraded to v5.6.1 of perl and viewed the documentation for the Getopt::Std as I wasn't familiar with its use for command line arguments on a new install function I was building. The docs indicate use of our( $opt_foo, $opt_bar ) should 'use strict vars' be in use. I wasn't familiar with this

Re: deprecated our() indicated in perldoc of Getopt::Std

2001-04-20 Thread Paul Johnson
On Fri, Apr 20, 2001 at 02:36:32PM -0700, Alan E. Derhaag wrote: I upgraded to v5.6.1 of perl and viewed the documentation for the Getopt::Std as I wasn't familiar with its use for command line arguments on a new install function I was building. The docs indicate use of our( $opt_foo,

Re: deprecated our() indicated in perldoc of Getopt::Std

2001-04-20 Thread ___cliff rayman___
1) 'our' is not deprecated. it is new. i know it was in 5.6.0, not sure if it was in earlier than that. u can check the CHANGES file to see exactly when it was added. 2) this is really a perl question, not a mod_perl question. next time try one of the following for perl related help:

Re: deprecated our() indicated in perldoc of Getopt::Std

2001-04-20 Thread Alan E. Derhaag
Paul Johnson [EMAIL PROTECTED] writes: On Fri, Apr 20, 2001 at 02:36:32PM -0700, Alan E. Derhaag wrote: I upgraded to v5.6.1 of perl and viewed the documentation for the Getopt::Std as I wasn't familiar with its use for command line arguments on a new install function I was building. The

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread Gunther Birznieks
At 10:01 AM 4/20/01 -0700, Perrin Harkins wrote: On Fri, 20 Apr 2001, Francesco Pasqualini wrote: But are there in the mod_perl architecture some guidelines and/or frameworks that encourages the MVC design patern ? I think that Apache::ASP could be (for example) the right tool, adding the

Re: How to tell if scripts are mod_perl ?

2001-04-20 Thread Sean C. Brady
On 20 Apr 2001, Wayne Pascoe wrote: Hi there, I'm trying to roll out some software by one of our 3rd party developers. I'm trying to find out if the scripts will actually be run through mod_perl and not as cgi's. The only config changes that they have specified to my Apache config is

Re: deprecated our() indicated in perldoc of Getopt::Std

2001-04-20 Thread Paul Johnson
On Fri, Apr 20, 2001 at 03:01:25PM -0700, Alan E. Derhaag wrote: Paul Johnson [EMAIL PROTECTED] writes: You installed 5.6.1, read the docs, used "our" and found it didn't work on 5.00503, right? That's because it's new with 5.6. From where did you get the idea that it is deprecated?

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread f . pasqualini
Quoting Joshua Chamas [EMAIL PROTECTED]: Francesco Pasqualini wrote: an interesting feature of JSP is the possibility to use the MVC design pattern (INPUT/OUTPUT/LOGIC separation) This is obtained with the "forward" instruction. How the MVC design pattern can be implemented in the

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread Joshua Chamas
[EMAIL PROTECTED] wrote: To avoid passing many parameters to the subs I become using a $cx (cx stand for context) global hash containig everything the subs needed, passed to each sub. page test.asp $cx = {}; $cx-{'name'} = 'default name'; $cx-{'age'} = 30; ... Try this,

cvs commit: modperl-2.0/util config.pl

2001-04-20 Thread dougm
dougm 01/04/20 10:07:49 Added: util config.pl Log: add util/config.pl script to report configuration Revision ChangesPath 1.1 modperl-2.0/util/config.pl Index: config.pl ===

cvs commit: modperl-2.0/lib/Apache Build.pm

2001-04-20 Thread dougm
dougm 01/04/20 10:09:20 Modified:lib/Apache Build.pm Log: prevent warning Revision ChangesPath 1.42 +1 -0 modperl-2.0/lib/Apache/Build.pm Index: Build.pm === RCS file:

cvs commit: modperl-2.0/lib/ModPerl Config.pm

2001-04-20 Thread sbekman
sbekman 01/04/20 11:25:49 Modified:lib/ModPerl Config.pm Log: use strict Revision ChangesPath 1.2 +2 -1 modperl-2.0/lib/ModPerl/Config.pm Index: Config.pm === RCS file:

cvs commit: modperl-2.0/Apache-Test/lib/Apache TestConfig.pm

2001-04-20 Thread dougm
dougm 01/04/20 09:46:52 Modified:Apache-Test/lib/Apache TestConfig.pm Log: deal properly with args Revision ChangesPath 1.10 +5 -2 modperl-2.0/Apache-Test/lib/Apache/TestConfig.pm Index: TestConfig.pm

cvs commit: modperl-2.0/util config.pl

2001-04-20 Thread dougm
dougm 01/04/20 09:50:57 Modified:pod modperl_dev.pod Added: util config.pl Log: add util/config.pl script to report configuration Revision ChangesPath No revision No revision

cvs commit: modperl-2.0 Makefile.PL

2001-04-20 Thread dougm
dougm 01/04/20 10:43:04 Modified:.Makefile.PL Log: need to push tables_dir into @INC when xs is not generated Revision ChangesPath 1.34 +11 -5 modperl-2.0/Makefile.PL Index: Makefile.PL

cvs commit: modperl-2.0/lib/ModPerl WrapXS.pm

2001-04-20 Thread dougm
dougm 01/04/20 11:03:49 Modified:lib/ModPerl WrapXS.pm Log: use thr corrent lib path Revision ChangesPath 1.8 +1 -1 modperl-2.0/lib/ModPerl/WrapXS.pm Index: WrapXS.pm === RCS file:

cvs commit: modperl-2.0/util bugreport.pl config.pl

2001-04-20 Thread sbekman
sbekman 01/04/20 11:08:09 Modified:util config.pl Added: lib/ModPerl Config.pm util bugreport.pl Log: * moving the code from util/config.pl into a new lib/ModPerl/Config.pm * now util/config.pl uses lib/ModPerl/Config.pm * a new bugreport util