Re: Modules Problem

2003-08-28 Thread Bruce Tennant
You need to setup exports in your Rules1 package.   Take a look at Exporter. (perldoc Exporter)   OR, call the function with its fully qualified package nameTim Edwards <[EMAIL PROTECTED]> wrote: I in the process of switching my scripts over to Mod Perl.I decide since Mod Perl doesn't like Sub rout

Offtopic: CGI.pm and mixing post/get

2003-08-28 Thread Bruce Tennant
I know this off topic, but somewhat close. ;-)   Is there an easy way to use the param function in CGI.pm with mixed POST and GET data?  I have some pages that use both (GET to the area, w/a form submision, for example) and it seems CGIs param will only get one type at a time.   It seems POST overr

Re: why you should reply to the list

2003-08-27 Thread Bruce Tennant
Ok compare:   == w/Reply-To "munged"   1) Left click on from line, copy 2) hit reply, replace list email w/sender email 3) type away   == w/out reply to, reply to whole list 1) hit reply, DOH! reply all 2) cut out senders email address or he gets duplicate mails (YES I DONT WANT TO READ IT TWICE!)

Re: Installation/test problems - mod_perl-1.27

2003-08-26 Thread Bruce Tennant
Can we fix the "list" so that when a person replies, it defaults to the list address and not the posters?  This I think is what many of the "keep it on the list" comments come from.   This is the only list I am on that doesn't have a reply-to that defaults to the list (and I'm on more than 10).   J

Re: Strange mod_perl2/Apache2 behavior -- I think

2003-08-20 Thread Bruce Tennant
I think you need to wrap it in a files block. The location block is sending all files to the perl handler. I had this problem, except it was trying to execute all of my non-perl files. Inside location, put something like ... your mod_perl configs here --- Bill Rini <[EMAIL PROTECTED

Re: (maybe offtopic) mod_perl/DBI/PostgreSQL

2003-08-14 Thread Bruce Tennant
Yeah, actually here is the code snippets I use.   Table def:   CREATE SEQUENCE s_league_lid minvalue 1;   CREATE TABLE t_League (    /*  lid  integer DEFAULT nextval('s_league_lid') PRIMARY KEY,*/    lid  SERIAL PRIMARY KEY NOT NULL,    name VARCHAR(20) UNIQUE NOT NULL, 

(maybe offtopic) mod_perl/DBI/PostgreSQL

2003-08-14 Thread Bruce Tennant
I just noticed an oddity in my application.  I setup a table in SQL with a serial, not null, primary key column.   Then I have a routine that inserts into the table (not setting the key column).   If I do the insert from the psql utitilty the sequence stays consistant (inc by 1) w/each new row adde

Fwd: Re: Apache::Reload and INC path partialy working

2003-08-14 Thread Bruce Tennant
Forwarding message as I didn't realize I was missing the list. Geoffrey Young <[EMAIL PROTECTED]> wrote: Date: Tue, 12 Aug 2003 14:18:37 -0400From: Geoffrey Young <[EMAIL PROTECTED]>To: Bruce Tennant <[EMAIL PROTECTED]>Subject: Re: Apache::Reload and INC path partialy work

Apache::Reload and INC path partialy working

2003-08-14 Thread Bruce Tennant
I'm trying to do some development work with mod_perl and find restarting the server a pain.  So I setup Apache::Reload, but it doesn't seem to want to see my local devel directory all the time.Here's my settingsApache/2.0.40mod_perl-1.99_7Linux 2.4.20-8 (RedHat9 I think)Here's my perl.conf (source

Re: Apache::Reload and INC path partialy working

2003-08-14 Thread Bruce Tennant
Ugh!  Not use to lists that reply to author.   Okay to resay what I sent to Geoffrey.   using the -I switch in the config file works, unlike the PerlSetEnv PERL5LIBGeoffrey Young <[EMAIL PROTECTED]> wrote: >> Here's my perl.conf (sourced by httpd.conf)>> start LoadModule pe