Re: choice of mod_perl technology for news site

2002-02-07 Thread Michael Kroell

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 7 Feb 2002, Robin Berjon wrote:

 If you want AxKit, there are CMSs is being built there. I haven't checked out
 XIMS in a while, and last time I heard it was running under
 CGI::XMLApplication / SAWA but considered to be easily portable to AxKit. I
 don't know where it is now, and how soon it will be publicly available.

At the moment, XIMS can be used for basic web-page publishing and for
ACL/Role aware information sharing only. Workflows and traditional story publishing
is still to come and not at the top of our TODO. However, everyone
feel free to jump in on that... ;)

After we cleaned up the core a bit, XIMS will be released at
http://sourceforge.net/projects/xims

To see whats there now and for more information, have a look at
http://xims.uibk.ac.at/goxims (xgu:xgu)

re AxKit CMSs - Christian Jaeger is building something XSP-based for
http://www.ethlife.ethz.ch/hauptseite (die, vignette, die! ;)
Don't know what's the current status there though.

Michael


-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQA/AwUBPGJJMXjN0CNeKmaIEQJCAACgz/j9BItrDa0G2aFEBMOK3EvqEK0AnRbs
pEOVWA5aBce0sZ9cmLYy2toH
=pr8D
-END PGP SIGNATURE-




scripts running under Apache::Registry and tie()/untie()

2002-02-07 Thread johannes . grumboeck


Hi,

I'm very new to modperl and I've got a question regarding the usage of tie
() and untie().
I've written a perl-script for authenticating a user's IP-address
against a DBM-database which has stored a certain valid IP-range
for each user.

I put it into a directory where every .perl-file runs under
Apache::Registry.
Now I do a tie() once in the .perl-script. Do I have to untie() in the same
script
or is this not necessary because as I understood the perl-script keeps
living as long as the child-process who started it?!

Did I get something wrong here?!

best regards,
Johannes Grumböck

PS: Here's the source code - I know it's a little bit weak - but I'm still
beginner :)

==
#!/usr/local/bin/perl -W
# file: test.perl

use strict;
use Apache::Constants qw(:response);

my $r = Apache-request;

my %params = $r-args;
my $username = $params{'hdl'} || undef;
if (!$username) {
  $r-status(BAD_REQUEST);
  return;
}

$username = 'hdl' . $username;

my @FirstIP = ();
my @LastIP =();
my @IP = split('\.',$r-connection-remote_ip());

tie(my %DB, NDBM_File,/www/apache/auth/crossrs.user,'0_RDONLY',0664) ||
die Kann DB nicht öffnen.;

my @rest = split(/:/,$DB{$username});
foreach (@rest) {
  my ($n,$v) = split('=');
  @FirstIP = split('\.',$v) if ($n eq FirstIP);
  @LastIP = split('\.',$v) if ($n eq LastIP);
}

untie %DB;

my $inrange = true;
if ($FirstIP[0]  $IP[0] || $IP[0]  $LastIP[0]){ $inrange = false1;}
elsif ($FirstIP[1]  $IP[1] || $IP[1]  $LastIP[1]){ $inrange = false2;}
elsif ($FirstIP[2]  $IP[2] || $IP[2]  $LastIP[2]){ $inrange = false3;}
elsif ($FirstIP[3]  $IP[3] || $IP[3]  $LastIP[3]){ $inrange = false4;}

# Interne Adresse auch gelten lassen
if ($IP[0] == 10  $IP[1] == 222) { $inrange = true;}

if ($inrange eq true  @rest) {
  $r-status(OK);
  return;
} else {
  $r-status(FORBIDDEN);
  return;
}





Apache::Symbol-calling none-can('undef_functions')

2002-02-07 Thread Sreeji K Das

Hi
The following
perl -MDevel::Symdump -e '$t =
Devel::Symdump-new(main); print $t-packages, \n;'

in perl 5.6.1 returns none as one the packages !
Apache::Symbol (mod_perl-1.26) seems to call a
'can('undef_function..' on this values  as a result,
a fatal error is thrown ! I have done a 'next if
/\none\/' in Apache::Symbol to work around this.

There is no problem in perl-5.005. No one else faced
similar problem ? BTW, all this is in Solaris 2.6

Sreeji



__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



[OT] Unsubscribe help

2002-02-07 Thread Per Møller

Can somebody please help me unsubscribe to this mailinglist?

I have send a mail to [EMAIL PROTECTED] but it does not
seem to work. I'm still getting the mails from this mailinglist.

Who's the person responsible for this list?

// Per Moeller





Subrequests

2002-02-07 Thread Miroslav Madzarevic

Is it possible that my perl script (Apache::Registry, Apache::PerlRun, 
HTML::Mason or whatever) could run multiple times with same parameters when the
user just invokes the URL once (for example clicks on A tag)  and if so how 
can I prevent this from happening.

I guess this is because of subrequests being fired and I _explicitly_ don't 
wish my code to run multiple times because strange things might happen.




Re: Apache::Symbol-calling none-can('undef_functions')

2002-02-07 Thread Geoffrey Young

Sreeji K Das wrote:
 
 Hi
 The following
 perl -MDevel::Symdump -e '$t =
 Devel::Symdump-new(main); print $t-packages, \n;'
 
 in perl 5.6.1 returns none as one the packages !
 Apache::Symbol (mod_perl-1.26) seems to call a
 'can('undef_function..' on this values  as a result,
 a fatal error is thrown ! I have done a 'next if
 /\none\/' in Apache::Symbol to work around this.
 
 There is no problem in perl-5.005. No one else faced
 similar problem ? BTW, all this is in Solaris 2.6

I guess you're using Apache::StatINC?  from the recesses of my memory,
I think that only Apache::StatINC uses Apache::Symbol, and in perl
5.6.0 the need for Apache::Symbol was removed, since subroutine
redefined warnings were made not-mandatory.

at any rate, if you're using Apache::StatINC you can probably just
move to Apache::Reload to avoid the problem.  other than that, I'm not
sure what to tell you - I can't recall anyone else reporting this
problem...

--Geoff



Re: Apache::Symbol-calling none-can('undef_functions')

2002-02-07 Thread Jim Smith

On Thu, Feb 07, 2002 at 08:09:57AM -0500, Geoffrey Young wrote:
 Sreeji K Das wrote:
  
  Hi
  The following
  perl -MDevel::Symdump -e '$t =
  Devel::Symdump-new(main); print $t-packages, \n;'
  
  in perl 5.6.1 returns none as one the packages !
  Apache::Symbol (mod_perl-1.26) seems to call a
  'can('undef_function..' on this values  as a result,
  a fatal error is thrown ! I have done a 'next if
  /\none\/' in Apache::Symbol to work around this.
  
  There is no problem in perl-5.005. No one else faced
  similar problem ? BTW, all this is in Solaris 2.6
 
 I guess you're using Apache::StatINC?  from the recesses of my memory,
 I think that only Apache::StatINC uses Apache::Symbol, and in perl
 5.6.0 the need for Apache::Symbol was removed, since subroutine
 redefined warnings were made not-mandatory.
 
 at any rate, if you're using Apache::StatINC you can probably just
 move to Apache::Reload to avoid the problem.  other than that, I'm not
 sure what to tell you - I can't recall anyone else reporting this
 problem...

I did find yesterday that Apache::Status + Devel::Symdump can cause
Apache to segfault on Solaris 2.7 with Perl 5.6.1, mod_perl 1.26,
apache 1.3.22.  Not sure why yet.  I'm just avoiding the combination
for now :/  (Basically, let this serve as a warning so people aren't
surprised if they see it.)

I also get the following at times:

Bizarre copy of ARRAY in aassign at 
/usr/local/lib/perl5/site_perl/5.6.1/Devel/Symdump.pm line 53.

Probably should post to p5p or something if I can gather more information.

--jim



Re: Apache::Symbol-calling none-can('undef_functions')

2002-02-07 Thread Geoffrey Young

Sreeji K Das wrote:
 
 Hi
 
 Well, it's only a small part of my big problem :-(
 I'm trying to get PerlFreshRestart working. I had been
 banging my head against it for almost 5 days  I was
 thinking about preparing a small test case  posting.
 
 Well I want apache to load all my perl stuff on
 restart (USR1) - so I enabled PerlFreshRestart (I
 don't want Apache to stat modules on every request).
 Since I was getting 'subroutine redefined' warnings, I
 had put
 'PerlRestartHandler Apache::Symbol' - you got the
 reason for the problem ?
 
 I'm having hell lot of problems with PerlFreshRestart.

you will :)  see 

http://perl.apache.org/guide/troubleshooting.html#Evil_things_might_happen_when_us

and the rest of the guide for more details.

just FYI, but Apache::Reload is much better at reloading scripts, and
has features that can do pretty much what you want.

HTH

--Geoff



Re: mod_perl, OpenPGP Math::Pari - Solved

2002-02-07 Thread Jason Galea


someone coulda told me to RTFM.. 8) then again I've read it before, so 
it probably wouldn't have helped, but just for those who have doubts...

PerlFreshRestart is BAD!!

but it's bad in a weird way cos it didn't affect my test server, but 
when I turned it off on the production server everything was good 
again... 8)

J


Jason Galea wrote:
 
 
 Ged Haywood wrote:
 

 There's a file in the mod_perl directory called SUPPORT.  (That bit
 about 'perl -V' was taken from there. :)  SUPPORT contains detailed
 instructions about what to do when mod_perl crashes, including what
 information to provide and how to generate a stack backtrace.

 73,
 Ged.

 
 yeh, read that... I guess I shoudn't have used the word crashes as 
 it's really dies when it tries to do a numeric comparison on an 
 alphanumeric string, which is entirely reasonable, so I'm not getting a 
 core dump, and I don't think mod_perl itself is at fault. I suspect the 
 implementation of GP/Pari as I ended up with the worst case as 
 mentioned in the Math::Pari install and manually copied (as instructed) 
 what I guess is a 'C' library file of some description (paricfg.h - I am 
 by no stretch a C programmer..) to the proper location. It all seemed to 
 work ok after that and as I had had troubles prior I already had my test 
 scripts which all ran fine so I thought Hooray! Then I implemented the 
 real system and got the errors mentioned.
 
 What I still don't understand is why the test scripts run ok, but the 
 mod_perl implementation doesn't. (But on my dev server everything works 
 as it should..)
 
 I'm going to reinstall GP/Pari on the production server using the 
 src.rpm I found on the Pari site, then if that goes ok I might be able 
 to install/update Math::Pari without errors, then maybe it'll all work.. 
 that's the plan anyway..
 
 cheers,
 
 


-- 
J
Web Developer

Eight Degrees Off Centre
http://www.eightdegrees.com.au/




Re: choice of mod_perl technology for news site

2002-02-07 Thread Dave Hodgkinson

Nate Campi [EMAIL PROTECTED] writes:

 Lets pretend I work for Wired News, and I really really hate Vignette's
 content management system. I mean *really* hate it. I'm the Ops guy
 supporting it and I have nightmares about the next unexplained CMS
 crash.
 
 Ok, we all know mod_perl is the right choice to replace their system,
 but what is the right way to go when you have a full news staff with
 many stories going out six days a week, and about a million hits a day?

My .02c:

1. Draw a REALLY sharp distinction between CMS and publishing the
pages.

2. Deliver the bulk of the content from a Template Toolkit,
include-driven system. 

3. Find a system that does what you need on the content management
end, what the pages out to files.

4. Do _not_ try to serve content from a database - keep it simple.

5. Many things you'd think about doing in mod_perl you can probably do
in mod_rewrite on the front-end Apache.

Um, that's all I can think of for now.




-- 
Dave Hodgkinson, Wizard for Hire http://www.davehodgkinson.com
Editor-in-chief, The Highway Star   http://www.deep-purple.com
   Interim Technical Director, Web Architecture Consultant for hire



[OT] callisto software graphics

2002-02-07 Thread Aaron Ross

http://callistocms.com v http://w.moreover.com/ 


hmmm

-- 
aaron ross . alias i, inc
 email . [EMAIL PROTECTED]
 phone . 215 545 6428




Re: mod_perl, OpenPGP Math::Pari - Solved

2002-02-07 Thread Ged Haywood

Hi again,

On Fri, 8 Feb 2002, Jason Galea wrote:

 someone coulda told me to RTFM.. 8)

That's what I was trying to tell you. :)

73,
Ged.




Re: [OT] callisto software graphics

2002-02-07 Thread Jon Robison

Obviously one of those Use our program to build your web site in just 1
hour! things.

Maybe NOFusion? It used to come with a bunch of those Fast Templates

--Jon R.

Aaron Ross wrote:
 
 http://callistocms.com v http://w.moreover.com/
 
 hmmm
 
 --
 aaron ross . alias i, inc
  email . [EMAIL PROTECTED]
  phone . 215 545 6428



Re: [OT] callisto software graphics

2002-02-07 Thread Leon Brocard

Aaron Ross sent the following bits through the ether:

 http://callistocms.com v http://w.moreover.com/ 

It just shows off the power of Orange...

Leon
-- 
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/

... Dragons love you. You're crunchy and good with ketchup



Re: weird problem. Lost of the POST data (SOLUTION)

2002-02-07 Thread Jason Czerak

On Mon, 2002-02-04 at 11:12, Oscar Serrano wrote:
 Hi:
 some days ago I wrote to ask for this problem: The CGI.pm (sometimes) could
 not receive the POST data. I tried all you recomended me here in the list.
 But I still had the problem. Finally I decide to kick out CGI.pm and start
 to use the old cgi-lib.pl. But I still had the same problem. Then I turnet
 to Apache::Request, and since I use it, I've never had the same problem.
 I just tell you because perphaps somebody may have the same problem. I
 don't really understan if the problem is in mod_perl, in Apache, in Templat
 Toolkit, in my ultrasecure patched kernel, in CGI.pm, but the point is that
 Apache::Request seems not to loose any post data :-?
 
 Thank you all.
 
 Oscar Serrano.
 
 
 

Did anyone of you guys by chacne compile PERL 5.6.1 with 'threading'.
Cuz I had the EXACT same porblem. The problem was 'fixable' in CGI.pm.

Look at the init() procedure. scroll down to line 453 where is calls
read_from_client() (version 2.79 but is in all versions of CGI.pm). Now
what I did was remove the reference to the STDIN filehandle and BINGO.
things worked fine. But I found that that was unacceptable to modify the
CGI.pm source. But that means reference handling was incorrect. I went
and put alot of debugging stuff in read_from_client() and confirmed that
the read() call was getting nothing returned becuase there wasn anything
in the file handle that was passed to it.

I 'thought' I had 2 exact matching systems. the one on the web server
(that was having this problem) and my workstation/dev box. My dev box
worked perfectly fine. 

At this point I was fed up with this and I started recompiling things.
:) started with perl. This time I just ran ./configure and held down the
Enter button (making sure I compiled libperl.so tho). remove the
current perl tree frm the system compleatly. installed it. reinstalled
all modules that I needed. That solved any problems. things run
perfectly now.

The only differnece is that I must of enabled multi-threading support
because there was that 'thread' directory tree present.

--
Jason Czerak





[WOT] Google Programming Contest.

2002-02-07 Thread Bill Moseley

Sorry for the Way Off Topic, and sorry if I missed this on the list already:

http://www.google.com/programming-contest/

They say C++ or Java.  What, no Perl?


-- 
Bill Moseley
mailto:[EMAIL PROTECTED]



Re: [OT] callisto software graphics

2002-02-07 Thread Aaron Ross

 
 It just shows off the power of Orange...

 i, for one, believe in the power of orange.


 Nanoware...http://www.nanoware.org/

 can i place a request for some orange nanoware?

-- 
aaron ross . alias i, inc
 email . [EMAIL PROTECTED]
 phone . 215 545 6428




Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Mike McLagan

Hello,

   I have two scripts, call them A and B.  Here's what I'm doing (paraphrased 
heavily to save posting a huge pile of code):

In data.html, I have: 

   !--#include virtual=A?action=show --

In A, I have:

   $q = new CGI;
   show() if $q-param('action') eq 'show';

   sub show
   {
  Apache::Include-virtual(B?action=remove);
   }

In B, I have:

   $q = new CGI;
   show() if $q-param('action') eq 'show';
   remove() if $q-param('action') eq 'remove';

   sub show
   {
  print B::show()\n;
   }

   sub remove
   {
  print B::remove()\n;
   }

Inveriably, I end up with B::show() in my output, not at all what I wanted, 
expected or hoped for.

What I see happening is that Apache::Registry is loading CGI.pm into the httpd 
child the first time it encounters a script that uses it.  This runs a number 
of functions within CGI.pm which set up variables, etc.  The call to new() in A 
then reads the query (GET or POST, doesn't matter) into @QUERY_PARAM.  

When B is invoked, within the same child, Apache::Registry DOES NOT reload 
CGI.pm and therefore does not initialize any of the variables, etc.  This 
results in the new() call in B REUSING (!) the @QUERY_PARAM which was built up 
during the new() call in A!  OOOPS!

In order to make it work, I had to dig thru CGI.pm and found a function that's 
in there with comments about mod_perl around it, specifically:

   CGI::initialize_globals();

If I add this call in before both of the new() invocations, I get the desired, 
expected results.

I'm not sure who to pin this on, mod_perl, Apache::Registry or CGI but it would 
seem to me that this qualifies as a bug, somewhere.

   Michael





Re: [WOT] Google Programming Contest.

2002-02-07 Thread Randal L. Schwartz

 Bill == Bill Moseley [EMAIL PROTECTED] writes:

Bill Sorry for the Way Off Topic, and sorry if I missed this on the list already:
Bill http://www.google.com/programming-contest/

Bill They say C++ or Java.  What, no Perl?

No, they say must use our C++ interface routines, and no closed-source
solutions.  If you provide an open source package, you must
tell where and how to download and build.

Thus, Perl is fine.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



Re: Can't locate Sybase/CTlib.pm

2002-02-07 Thread Rafiq Ismail (ADMIN)

Hi Lynne,

On Wed, 6 Feb 2002, Ng, Lynne (Exchange) wrote:
 #!/usr/bin/perl -I
 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Sybase:/usr/local/lib/perl
 5/site_perl/5.005/sun4-solaris/auto/Sybase
 use Sybase::CTlib;
 @INC = @lib::ORIG_INC; **
 print Hello world;

** Assuming that @INC = @lib::ORIG_INC; will add the path for Sybase to
your @INC, you've got the order wrong.  You should:

@INC=... and then
use Sybase::CTlib;

 It showed this error:
 Can't locate Sybase/CTlib.pm in @INC
Thus, your script was unable to find CTlib.pm.


Fiq





Re: Can't locate Sybase/CTlib.pm

2002-02-07 Thread Rafiq Ismail (ADMIN)

btw, my assumption here was that massive long line in your -I is some
how wrong.  Well it's got to be right?

Fiq


On Thu, 7 Feb 2002, Rafiq Ismail (ADMIN) wrote:

 Hi Lynne,

 On Wed, 6 Feb 2002, Ng, Lynne (Exchange) wrote:
  #!/usr/bin/perl -I
  /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Sybase:/usr/local/lib/perl
  5/site_perl/5.005/sun4-solaris/auto/Sybase
  use Sybase::CTlib;
  @INC = @lib::ORIG_INC; **
  print Hello world;

 ** Assuming that @INC = @lib::ORIG_INC; will add the path for Sybase to
 your @INC, you've got the order wrong.  You should:

   @INC=... and then
   use Sybase::CTlib;

  It showed this error:
  Can't locate Sybase/CTlib.pm in @INC
 Thus, your script was unable to find CTlib.pm.


 Fiq







Re: [WOT] Google Programming Contest.

2002-02-07 Thread iain truskett

* Randal L. Schwartz ([EMAIL PROTECTED]) [08 Feb 2002 05:28]:
 * Dave == Dave Rolsky [EMAIL PROTECTED] writes:
  In the Slashdot discussion, there's a link to a usenet posting by a
  Google employee which explicitly says only C++ or Java, no Perl or
  Lisp.

 A google employee is perhaps only an opinion though. Is it the group
 running the contest?

Yes, it's an official opinion.


cheers,
-- 
iain.  http://eh.org/~koschei/



Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Ged Haywood

Hi there,

On Thu, 7 Feb 2002, Mike McLagan wrote:

I have two scripts, call them A and B.
[snip]
$q = new CGI;
[snip]
 Inveriably, I end up with B::show() in my output, not at all what I wanted, 

Isn't this mentioned in the mod_perl Guide?

http://perl.apache.org/guide

73,
Ged.




Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Jason Czerak

On Thu, 2002-02-07 at 13:38, Ged Haywood wrote:
 Hi there,
 
 On Thu, 7 Feb 2002, Mike McLagan wrote:
 
 I have two scripts, call them A and B.
 [snip]
 $q = new CGI;
 [snip]
  Inveriably, I end up with B::show() in my output, not at all what I wanted, 
 
 Isn't this mentioned in the mod_perl Guide?
 
 http://perl.apache.org/guide
 
 73,
 Ged.
 
 

As I mentioned ealier today. I asked the question. 'do you have threaded
support compiled into perl?'. If you do, this was the solution I needed
to fix the same problem that I have been having also.

--
Jason Czerak







Re: Subrequests

2002-02-07 Thread Ged Haywood

Hi there,

On Thu, 7 Feb 2002, Miroslav Madzarevic wrote:

 Is it possible that my perl script (Apache::Registry, Apache::PerlRun, 
 HTML::Mason or whatever) could run multiple times with same parameters when the
 user just invokes the URL once (for example clicks on A tag)  and if so how 
 can I prevent this from happening.
 
 I guess this is because of subrequests being fired and I _explicitly_ don't 
 wish my code to run multiple times because strange things might happen.

There are lots of ways of finding out what happens when a request comes in.
Read the debugging section of the mod_perl Guide: http://perl.apache.org/guide.
I favour tailing the error_log and printing truckloads of debug info in there
as a matter of routine.  (Amazing what you find, sometimes. :)

Browsers like Netscape can fire off lots of parallel requests.  You
might not expect them to do that.  Even if everything works like you
expect, if it runs on a Webserver how are you going to prevent people
double-clicking, or lots of people all clicking at once?  You'd better
fix your code so it can cope.

73,
Ged.




RE: [Q] SIGSEGV After fork()

2002-02-07 Thread Fister, Mark

On Thu, Feb 07, 2002 at 01:03:29AM +, Ged Haywood wrote:
 Hi there,

Hi!  Thank you SOOO much for the reply!

[SNIP]

 You might try usemymalloc.

Tried that.  Note: you also tried to help a fellow back in November of
2001 on this VERY same stack trace.

http://groups.yahoo.com/group/modperl/message/39560

Compiler:
  optimize='-g',
 
 H...

See below.

  ccversion='', gccversion='2.96 2731 (Red Hat Linux 7.1
2.96-85)', gccosandvers=''
 
 You've obviously read the docs, so I take it the same compiler built
 Aapche, mod_perl and Perl.  Have you tried this on RH6.2 with the
 compiler that came with that?

Yes.  Note also: the problem didn't use to happen with perl 5.00404,
mod_perl 1.08 and apache 1.3b5 (with exactly the same codebase).

See below.

  Stack Trace:
  ===
  #0  __pthread_mutex_lock (mutex=0x8bf04999) at mutex.c:99
  #1  0x401b9cc8 in __libc_free (mem=0x4046cc18) at malloc.c:3152
  #2  0x403ce028 in Perl_safesysfree (where=0x4046cc18) at util.c:158
  #3  0x403f20d8 in Perl_sv_clear (sv=0x8198f60) at sv.c:3827
  #4  0x403f2473 in Perl_sv_free (sv=0x8198f60) at sv.c:3950
  #5  0x403f80e1 in do_clean_all (sv=0x8198f60) at sv.c:8411
  #6  0x403e9c5e in S_visit (f=0x403f8094 do_clean_all) at sv.c:162
  #7  0x403e9ce2 in Perl_sv_clean_all () at sv.c:193
  #8  0x4038594a in perl_destruct (my_perl=0x809a9a8) at perl.c:665
  #9  0x4035629c in perl_shutdown (s=0x0, p=0x0) at mod_perl.c:294
  #10 0x40356be6 in mp_dso_unload (data=0x808e714) at mod_perl.c:489
 
 Have you tried a statically linked mod_perl?

Yes.  See below.

 73,
 Ged.

Here's what HAS been tried:

- -O2 vs. -O3 vs. -g
- Perl's malloc vs. system malloc
- static vs. dynamic loading of httpd modules
- Different Berkeley db in case there were discrepancies with that
- Different compilers, RedHat releases, glibc releases
- --enable-rule=EXPAT vs. --disable-rule=EXPAT

All failed.

-- 
\_/} Mark P. Fister Java, Java, everywhere, and all\_/}
\_/} eBay, Inc. the cups did shrink; Java, Java\_/}
\_/} Austin, TX everywhere, nor any drop to drink! \_/}



Re: [WOT] Google Programming Contest.

2002-02-07 Thread Medi Montaseri

This reaminds me of a Brain Bowl competition at USC a few years ago, where
the winner (a one man Perl speaking team) solved 4 out of 6 problems in the
given time
(compared to other multiple member teams) and the school of engineering decided
to
remove Perl as one of the possible languages

The story ends with the winner is currently working and uses his prize, a
copy
of MS Visual C++, as a door stopper

Having said that  I don't think Google has anything against Perl.
They use lots of it.

Bill Moseley wrote:

 Sorry for the Way Off Topic, and sorry if I missed this on the list already:

 http://www.google.com/programming-contest/

 They say C++ or Java.  What, no Perl?

 --
 Bill Moseley
 mailto:[EMAIL PROTECTED]

--
-
Medi Montaseri   [EMAIL PROTECTED]
Unix Distributed Systems EngineerHTTP://www.CyberShell.com
CyberShell Engineering
-






Re: [WOT] Google Programming Contest.

2002-02-07 Thread Dave Rolsky

On 7 Feb 2002, Randal L. Schwartz wrote:

 No, they say must use our C++ interface routines, and no closed-source
 solutions.  If you provide an open source package, you must
 tell where and how to download and build.

 Thus, Perl is fine.

In the Slashdot discussion, there's a link to a usenet posting by a Google
employee which explicitly says only C++ or Java, no Perl or Lisp.

-dave

/*==
www.urth.org
we await the New Sun
==*/




Re: [WOT] Google Programming Contest.

2002-02-07 Thread Randal L. Schwartz

 Dave == Dave Rolsky [EMAIL PROTECTED] writes:

Dave In the Slashdot discussion, there's a link to a usenet posting by a Google
Dave employee which explicitly says only C++ or Java, no Perl or Lisp.

A google employee is perhaps only an opinion though.  Is it the
group running the contest?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



DBI, Dynaloader, mod_perl, and Undefined symbol PL_dowarn

2002-02-07 Thread Jonathan Hilgeman

I just experienced an issue where I upgraded MySQL, and had to reinstall the
DBD::Mysql module to match the new client libraries (libmysqlclient.so.10 -
I was getting messages about an ISA directive not found). After reinstalling
the MySQL module, DBI began to spew errors at me when I tried to restart
Apache. I was running mod_perl 1.24, and after reinstalling DBI, I finally
figured out that I needed to upgrade mod_perl (I went to mod_perl 1.26) and
this fixed the problem. 

This is pretty much just a helping piece for anyone searching for this
error.

- Jonathan



Re: [OT] email attachments - Win32 email reader to replace OE

2002-02-07 Thread Rod Butcher

Thanks to folks who contributed, Eudora seems the thing to go with here.
What I'd really like is  a Win32 version of KDE Mail, so I can have
cross-platform standardization.
regards, Rod
===
The sender has never accepted any funding
from Enron. Any suggestion to that effect
will be met with legal action.
- Original Message -
From: Todd Finney [EMAIL PROTECTED]
To: Rod Butcher [EMAIL PROTECTED]
Sent: Monday, February 04, 2002 9:27 AM
Subject: Re: [OT] email attachments - Win32 email reader to replace OE


 I've used various versions of Eudora since around 1995.  It's not
 perfect, but it's better than most.  Recent versions have fairly
 powerful filtering capabilities, and it handles large mailboxes without
 difficultly (how large? My largest mailbox has around 35,000 messages
 in it, it's been higher).

 It also has nice functional keyboard shortcuts, so you don't need to
 use a mouse when you're handling mail.

 I can't comment on using PGP with it, as I've never tried that.  I
 can't imagine it being a problem, though.

 cheers,
 Todd


 At 09:11 PM 2/2/02, Rod Butcher wrote:
 Guys, in light of recent messages, can you suggest a secure
 full-function
 Win32 email reader (including optional HTML) with a brain that I can
 migrate
 all my Outlook  Express stuff to and so escape the Virus nightmare and
 deal
 with PGP, GPG etc and hence use electronic communication the way it's
 meant
 to be used ?
 many thanks, Rod
 - Original Message -
 From: Jorge Godoy [EMAIL PROTECTED]
 To: Rod Butcher [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Sunday, February 03, 2002 12:24 PM
 Subject: Re: email attachments; was modperl growth
 
 
  clip clip...
   I'm sorry, but it was a GPG (a free PGP) signed message.
  
   Outlook is really lost when it sees that and, since you've bought
  it
   from Microsoft, I think you should send them a request for them to
   implement OpenPGP standards in their mail reader.
  
  
   Unfortunately, you (don't) get what you paid for...
  
  
   See you,
   --
   Godoy. [EMAIL PROTECTED]
  
   Escritório de Projetos --   Conectiva S.A.
   Projects Office --   Conectiva Inc.
 






Re: [OT] callisto software graphics

2002-02-07 Thread Michael A Nachbaur

 http://callistocms.com v http://w.moreover.com/

Grrr!  I had an outside designer come up with that LookFeel for me.  I had
no idea they ripped it off.

/me kicks designers butt

-man




RE: [OT] callisto software graphics

2002-02-07 Thread Bryan Henry

you paid some one to make that design for you?  put the smack down...  and
spread the word once you figure out who did the stealing...
~ b r y a n

-Original Message-
From: Michael A Nachbaur [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 2:55 PM
To: Aaron Ross; [EMAIL PROTECTED]
Subject: Re: [OT] callisto software graphics


 http://callistocms.com v http://w.moreover.com/

Grrr!  I had an outside designer come up with that LookFeel for me.  I had
no idea they ripped it off.

/me kicks designers butt

-man




module errors

2002-02-07 Thread GsuLinuX



we wroted a perl code to fetch some information we 
want from a web site. The code is as below:

#!/usr/bin/perluse LWP::Simple;use 
HTML::Parse;use HTML::FormatText;use CGI;$query = new CGI;my 
($html, $ascii);$html = get("http://www.tcmb.gov.tr/kurlar/today.html");defined 
$html or die "Sayfa gelmiyor bi turlu!!";$ascii = 
HTML::FormatText-new-format(parse_html($html));@satircik=split 
/\n/,$ascii;$dolaralis=substr($satircik[11], 
30,11);$dolarsatis=substr($satircik[11], 
40,11);$markalis=substr($satircik[17], 
30,11);$marksatis=substr($satircik[17], 
40,11);$frankalis=substr($satircik[18], 
30,11);$franksatis=substr($satircik[18], 
40,11);$euroalis=substr($satircik[30], 
30,11);$eurosatis=substr($satircik[30], 
40,11);$sterlinalis=substr($satircik[31], 
30,11);$sterlinsatis=substr($satircik[31], 40,11);$output = '?xml 
version="1.0" encoding="ISO-8859-9" ?';$output .= 
"\ndoviz\n";$output .= "dolar\n";$output .= 
" 
alis$dolaralis/alis\n";$output .= 
" 
satis$dolarsatis/satis\n";$output .= " 
/dolar\n";$output .= " mark\n";$output 
.= " 
alis$markalis/alis\n";$output .=" 
satis$marksatis/satis\n";$output .=" 
/mark\n";$output .=" frank\n";$output 
.=" alis$frankalis/alis\n";$output 
.=" 
satis$franksatis/satis\n";$output .=" 
/frank\n";$output .=" sterlin\n";$output 
.=" alis$sterlinalis/alis\n";$output 
.=" 
satis$sterlinsatis/satis\n";$output .=" 
/sterlin\n";$output .=" euro\n";$output 
.=" alis$euroalis/alis\n";$output 
.=" satis$euroalis/satis\n";$output 
.=" /euro\n";$output 
.="/doviz\n";$outputfile="doviz.xml";open (dovizhtml, 
"$outputfile"); print dovizhtml $output;print 
$query-redirect('doviz.xml');



We have the debug error:

Can't locate HTML/Parse.pm in @INC(@INC 
contains:/usr/lib/perl5/5.6.0/i386-linux/usr/lib/...) 
at/usr/local/plesk/apache/vhosts/loop10.com/httpdocs/DDdeneme/parite2.cgi 
line3Begin Failed-compilation aborted 
at/usr/local/plesk/apache/vhosts/loop10.com/httpdocs/DDdeneme/parite2.cgi 
line3"
Although we have the modules, why perl gives that 
error?!!?

thanks

funky
Istanbul


Re: module errors

2002-02-07 Thread Brett W. McCoy

On Thu, 7 Feb 2002, GsuLinuX wrote:

 we wroted a perl code to fetch some information we want from a web site. The code is 
as below:

 #!/usr/bin/perl
 use LWP::Simple;
 use HTML::Parse;

snippage

 We have the debug error:

 Can't locate HTML/Parse.pm in @INC(@INC contains:
 /usr/lib/perl5/5.6.0/i386-linux
 /usr/lib/...
 ) at
 /usr/local/plesk/apache/vhosts/loop10.com/httpdocs/DDdeneme/parite2.cgi line
 3

 Begin Failed-compilation aborted at
 /usr/local/plesk/apache/vhosts/loop10.com/httpdocs/DDdeneme/parite2.cgi line
 3
 

Are you sure you don't mean HTML::Parser (they are two differenty
modules)?

-- Brett
  http://www.chapelperilous.net/

Where do I find the time for not reading so many books?
-- Karl Kraus




RE: [Q] SIGSEGV After fork()

2002-02-07 Thread Ged Haywood

Hi there,

On Thu, 7 Feb 2002, Fister, Mark wrote:

 Tried that.  Note: you also tried to help a fellow back in November of
 2001 on this VERY same stack trace.
 
 http://groups.yahoo.com/group/modperl/message/39560

Heh, didn't get very far with Lynx on that URL...
does anybody know what happened to that one?

  You've obviously read the docs, so I take it the same compiler built
  Aapche, mod_perl and Perl.  Have you tried this on RH6.2 with the
  compiler that came with that?
 
 Yes.  Note also: the problem didn't use to happen with perl 5.00404,
 mod_perl 1.08 and apache 1.3b5 (with exactly the same codebase).

5.00404 ?? 1.08 !?!...

Ah.  Now we're getting somewhere.  Maybe.  Why not try Perl 5.7.2?
I'm using it in development, did some pretty heavy stuff with 5.7.0
and it was fine, then I ran into SIGSEVs and things trying to do some
simple profiling with Devel::DProf on some simple code (heavy data:)
which went away when I installed 5.7.2.  (BTW thanks Stas!:)

73,
Ged.






Re: [OT] email attachments - Win32 email reader to replace OE

2002-02-07 Thread Erich L. Markert

Why not just use Netscape's mail client then?  Works on Unix, Linux, 
Win32, etc...

[EMAIL PROTECTED] wrote:

Thanks to folks who contributed, Eudora seems the thing to go with here.
What I'd really like is  a Win32 version of KDE Mail, so I can have
cross-platform standardization.
regards, Rod
===
The sender has never accepted any funding
from Enron. Any suggestion to that effect
will be met with legal action.
- Original Message -
From: Todd Finney [EMAIL PROTECTED]
To: Rod Butcher [EMAIL PROTECTED]
Sent: Monday, February 04, 2002 9:27 AM
Subject: Re: [OT] email attachments - Win32 email reader to replace OE


I've used various versions of Eudora since around 1995.  It's not
perfect, but it's better than most.  Recent versions have fairly
powerful filtering capabilities, and it handles large mailboxes without
difficultly (how large? My largest mailbox has around 35,000 messages
in it, it's been higher).

It also has nice functional keyboard shortcuts, so you don't need to
use a mouse when you're handling mail.

I can't comment on using PGP with it, as I've never tried that.  I
can't imagine it being a problem, though.

cheers,
Todd


At 09:11 PM 2/2/02, Rod Butcher wrote:

Guys, in light of recent messages, can you suggest a secure
full-function
Win32 email reader (including optional HTML) with a brain that I can
migrate
all my Outlook  Express stuff to and so escape the Virus nightmare and
deal
with PGP, GPG etc and hence use electronic communication the way it's
meant
to be used ?
many thanks, Rod
- Original Message -
From: Jorge Godoy [EMAIL PROTECTED]
To: Rod Butcher [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, February 03, 2002 12:24 PM
Subject: Re: email attachments; was modperl growth


clip clip...

I'm sorry, but it was a GPG (a free PGP) signed message.

Outlook is really lost when it sees that and, since you've bought

it

from Microsoft, I think you should send them a request for them to
implement OpenPGP standards in their mail reader.


Unfortunately, you (don't) get what you paid for...


See you,
--
Godoy. [EMAIL PROTECTED]

Escritório de Projetos --   Conectiva S.A.
Projects Office --   Conectiva Inc.








Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Mike McLagan

On Thu, 7 Feb 2002 18:38:53 + (GMT), Ged Haywood wrote:

Hi there,

On Thu, 7 Feb 2002, Mike McLagan wrote:

I have two scripts, call them A and B.
[snip]
$q = new CGI;
[snip]
 Inveriably, I end up with B::show() in my output, not at all what I 
wanted, 

Isn't this mentioned in the mod_perl Guide?

http://perl.apache.org/guide


I dug thru the guide and I found no mention at all of anything
similar to this.  If you happen to know where it is, please point
it out because I was not at all successful.  Guide or not, it still
represents undesirable behavior.

   Michael





RE: [Q] SIGSEGV After fork()

2002-02-07 Thread Fister, Mark

On Thu, Feb 07, 2002 at 09:35:18PM +, Ged Haywood wrote:
 Hi there,
 
 On Thu, 7 Feb 2002, Fister, Mark wrote:
 
  Tried that.  Note: you also tried to help a fellow back in November of
  2001 on this VERY same stack trace.
  
  http://groups.yahoo.com/group/modperl/message/39560
 
 Heh, didn't get very far with Lynx on that URL...
 does anybody know what happened to that one?
 
   You've obviously read the docs, so I take it the same compiler built
   Aapche, mod_perl and Perl.  Have you tried this on RH6.2 with the
   compiler that came with that?
  
  Yes.  Note also: the problem didn't use to happen with perl 5.00404,
  mod_perl 1.08 and apache 1.3b5 (with exactly the same codebase).
 
 5.00404 ?? 1.08 !?!...
 
 Ah.  Now we're getting somewhere.  Maybe.  Why not try Perl 5.7.2?
 I'm using it in development, did some pretty heavy stuff with 5.7.0
 and it was fine, then I ran into SIGSEVs and things trying to do some
 simple profiling with Devel::DProf on some simple code (heavy data:)
 which went away when I installed 5.7.2.  (BTW thanks Stas!:)

Tried 5.7.2.  I still have core dumps.  This is why I decided to try
the mod_perl list instead of p5p.  I'm definitely nearly in tears. :(

NOTE: some of our Apache-based servers have no problem with the same
Apache/Perl/mod_perl that we're running.  However, others do... and
trying to do module list comparisons between the ones that
do and don't doesn't come up with anything definitive.

 73,
 Ged.

-- 
\_/} Mark P. Fister Java, Java, everywhere, and all\_/}
\_/} eBay, Inc. the cups did shrink; Java, Java\_/}
\_/} Austin, TX everywhere, nor any drop to drink! \_/}



@INC Not exported in older perl's?

2002-02-07 Thread Elizabeth Barham

Hi,

I have been developing a web application using Apache and mod_perl. It
consists of a single CGI perl script and many, many modules. The
application was originally developed with perl 5.6.

I moved it onto an i386 box running perl 5.005 and now there is a
particular issue that I'm having trouble understanding. What happens
is that an included module 'require's another module, but it's @INC is
different than the one defined in the original, single CGI script.

While one quick fix would be to simply add use lib '.' to the
beginning of this particular module, I would rather diagnose the
problem as I wonder why it's having this trouble.

The error displayed using CGI.pm's carp is:

Can't locate Time/DaysInMonth.pm in @INC (@INC
contains:
/usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005
/usr/local/lib/site_perl/i386-linux
/usr/local/lib/site_perl
/usr/lib/perl5 . /etc/apache/ /etc/apache/lib/perl) at
../lib/perl/Time/ParseDate.pm line 896

This does not include the directory included using use libs:

use lib ../lib/perl;

in the one cgi-bin file. The funny thing about this is that the module
that is throwing the error's location happens to be
../lib/perl/Time/ParseDate.pm, which includes:

require Time::DaysInMonth.

Is there an easy solution to this? Am I missing something?

Thank you, Elizabeth





Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Ged Haywood

Hi there,

On Thu, 7 Feb 2002, Mike McLagan wrote:

 Isn't this mentioned in the mod_perl Guide?
 
 http://perl.apache.org/guide
 
 
 I dug thru the guide and I found no mention at all of anything
 similar to this.

http://perl.apache.org/guide/porting.html

73,
Ged.




Re: mod_perl version for Tomcat

2002-02-07 Thread Chuck Goehring




Thanks for the responses. Just trying to find 
the simplest way to do things.

Chuck Goehring


Re: choice of mod_perl technology for news site

2002-02-07 Thread Ian Kallen [EMAIL PROTECTED]


I'm not really involved with the project but it looks to me that bricolage
is heading towards content generation abstraction (there's support for
Mason and HTML::Template). Therefore, I would imagine that if you wanted
to use AxKit as a content generator, you could.

On Thu, 7 Feb 2002, Matt Sergeant wrote:
 On Wed, 6 Feb 2002, Drew Taylor wrote:
 
  You should take a look at Bricolage (http://bricolage.thepirtgroup.com/).
  It's a relatively new, but comprehensive, CMS that is based on Mason 
  mod_perl. I think it supports most of the things you mentioned below, but
  you should ask the developers to be sure.
 
  If you talk w/ Matt, he'll be sure to hawk AxKit. But then that's Matt. And
  AxKit really is cool stuff. :-)
 
 Well I'd rather recommend whatever works for people. Bricolage certainly
 seems full featured, and it looks easy enough to add XSLT support to it,
 though I haven't had chance to download and try that yet.
 
 As far as AxKit based CMS's go, well I was writing one but it died in the
 dot-bomb as I became an Anti Spam and Virus Technologist (which is
 actually a really nice change from web hacking). As far as other CMS's,
 Robin has already mentioned XIMS and his Tesserra, but forgot about this
 one: http://www.callistocms.com/ which simply blew my mind looking at the
 graphics. I guess I'm easily pleased ;-) I don't know if that one is going
 to be free or not though.
 
 

cheers,
-Ian

-- 
Ian Kallen [EMAIL PROTECTED] | AIM/yahoo: iankallen




Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Mike McLagan

On Fri, 8 Feb 2002 01:18:19 + (GMT), Ged Haywood wrote:

On Thu, 7 Feb 2002, Mike McLagan wrote:

 Isn't this mentioned in the mod_perl Guide?
 
 http://perl.apache.org/guide
 
 
 I dug thru the guide and I found no mention at all of anything
 similar to this.

http://perl.apache.org/guide/porting.html

Ged,

   I looked thru most of those and I can't see which of the large collection
of items you believe describes the situation I brought up.  Could you give me 
the specific jump tag for the section you are refering to please?

   Michael





Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Ged Haywood

Hi again,

On Thu, 7 Feb 2002, Mike McLagan wrote:

 On Fri, 8 Feb 2002 01:18:19 + (GMT), Ged Haywood wrote:
 
 On Thu, 7 Feb 2002, Mike McLagan wrote:
 
  Isn't this mentioned in the mod_perl Guide?
  
  http://perl.apache.org/guide
  
  
  I dug thru the guide and I found no mention at all of anything
  similar to this.
 
 http://perl.apache.org/guide/porting.html
 
 Could you give me the specific jump tag for the section you are refering to please?


=head3 Reloading Configuration Files


When the require(), use() and do() operators successfully return, the
file that was passed as an argument is inserted into C%INC (the key
is the name of the file and the value the path to it). Specifically,
when Perl sees require() or use() in the code, it first tests C%INC
to see whether the file is already there and thus loaded. If the test
returns true, Perl saves the overhead of code re-reading and
re-compiling; however calling do() will (re)load regardless.

You generally don't notice with plain perl scripts, but in mod_perl
it's used all the time; after the first request served by a process
all the files loaded by require() stay in memory. If the file is
preloaded at server startup, even the first request doesn't have
the loading overhead.

We use do() to reload the code in this file and not require() because
while do() behaves almost identically to require(), it reloads the
file unconditionally. If do() cannot read the file, it returns
Cundef and sets C$! to report the error.  If do() can read the
file but cannot compile it, it returns Cundef and sets an error
message in C$@. If the file is successfully compiled, do() returns
the value of the last expression evaluated.


73,
Ged.




Re: [WOT] Google Programming Contest.

2002-02-07 Thread kkeller-modperl

Bill Moseley [EMAIL PROTECTED] writes:
 
 Sorry for the Way Off Topic, and sorry if I missed this on the
 list already: http://www.google.com/programming-contest/

It seems like a lame way to hire a contractor.  :)  And an even
lamer way to get hired as a contractor.

(ps to randal--dammit, next time i'll *read* the outbound headers!)

-- keith
[EMAIL PROTECTED]
public key:  http://wombat.san-francisco.ca.us/kkeller/public_key
alt.os.linux.slackware FAQ:  http://wombat.san-francisco.ca.us/perl/fom





Re: Subrequests

2002-02-07 Thread Pierre Phaneuf

Miroslav Madzarevic wrote:

 Is it possible that my perl script (Apache::Registry,
 Apache::PerlRun, HTML::Mason or whatever) could run multiple
 times with same parameters when the user just invokes the URL
 once (for example clicks on A tag)  and if so how can I prevent
 this from happening.

if(!$r-is_main()) {
  return;
}

-- 
Pierre Phaneuf



PerlFreshRestart (Was: Re: Apache::Symbol-calling none-can('undef_functions'))

2002-02-07 Thread Sreeji K Das

Hi 
True, I had already read that doc  also the
'Namespace' collision docs. However, there's no name
space collission in my scripts since:
1) The entire code with same config. works with old
mod_perl+perl+apache combo.
2) The errors that I get are like 'Undefined
subroutine File::Basename::basename called at ...'
Just before this if I check
File::Basename-can('basename') I get true  if check
%INC, File/Basename.pm exists there. I also did an
explict symbol table check (using glob)  found that
the function is there ! But funnily perl says it's
undefined subroutine ! The actual module  method
names change randomly, even if I run with -X !
 
As for Apache::Reload, the problem is it's going to
stat all the files, which I don't want. Alternatively,
I'll have to put use Apcahe::Reload, which again is a
problem, since I have to modify many files  they all
would be unnecessarily stat'ed. I just want Apache to
load all the modules, when I give a USR1 - I'm really
stuck at this !
(Another option I read somewhere is to compile
mod_perl as a DSO, in which case for every restart the
entire perl interp. is torn down  reloaded - may be
I'll look into that)

Thanx
Sreeji

--- Geoffrey Young [EMAIL PROTECTED] wrote:
 Sreeji K Das wrote:
  
  Hi
  
  Well, it's only a small part of my big problem :-(
  I'm trying to get PerlFreshRestart working. I had
 been
  banging my head against it for almost 5 days  I
 was
  thinking about preparing a small test case 
 posting.
  
  Well I want apache to load all my perl stuff on
  restart (USR1) - so I enabled PerlFreshRestart (I
  don't want Apache to stat modules on every
 request).
  Since I was getting 'subroutine redefined'
 warnings, I
  had put
  'PerlRestartHandler Apache::Symbol' - you got the
  reason for the problem ?
  
  I'm having hell lot of problems with
 PerlFreshRestart.
 
 you will :)  see 
 

http://perl.apache.org/guide/troubleshooting.html#Evil_things_might_happen_when_us
 
 and the rest of the guide for more details.
 
 just FYI, but Apache::Reload is much better at
 reloading scripts, and
 has features that can do pretty much what you want.
 
 HTH
 
 --Geoff 

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com