Re: Getting lots of redefined statements in the error_log

2005-06-20 Thread Martin Moss
Can you confirm you have the same version of Perl on both systems? I've seen these errors on perl 5.8 after upgrading from perl 5.005 Marty p.s. I still have them too, so any help with this issue would be useful to me too... --- Boysenberry Payne [EMAIL PROTECTED] wrote: Here is a sample

Re: [JOB] Perl Programmer for large-scale Apache/mod_perl development

2005-06-20 Thread Ian D. Stewart
Dodger wrote: If you're unwilling to let a programmer telecommute, you're still in the dark ages, and I wouldn't want to work for you anyway. I am amazed by the technology companies that think that programming requires physical presence in the 21st century. Yeesh. This is only true if you

Re: Tied Apache::Session objects in AxKit::XSP::BasicSession

2005-06-20 Thread Kjetil Kjernsmo
On Friday 17 June 2005 06:00, Perrin Harkins wrote: I currently assign to pnotes like this:     $r-pnotes(session = tied %session); No, you want the hash, not the object it's tied to: $r-pnotes('session' = \%session); Then use it like this: my $session_ref = $r-pnotes('session');

Re: Tied Apache::Session objects in AxKit::XSP::BasicSession

2005-06-20 Thread Perrin Harkins
On Mon, 2005-06-20 at 20:22 +0200, Kjetil Kjernsmo wrote: No, you want the hash, not the object it's tied to: $r-pnotes('session' = \%session); Then use it like this: my $session_ref = $r-pnotes('session'); $session-{'key'} = 'value'; Uh, actually, that's what I did in my first

basic question

2005-06-20 Thread Tony Allen
Hello, I have a fairly basic question as I'm not quite sure I get the big picture on modules. Maybe someone can give me a better picture. I'll use 3 example modules: Main, Main::Config, and Main::HTML Main is the main object which contains the variables needed (like $main-{config}) which it

RE: Getting lots of redefined statements in the error_log

2005-06-20 Thread Perrin Harkins
On Mon, 2005-06-20 at 14:06 -0600, Aaron Scott wrote: FWIW, I've noticed redefined subroutine errors when I require a single package using two different statements. E.g., --- File1.pm use MyPackage; --File2.pm use SomeDir::MyPackage; Loading File2 when File1 has already

Apache2::Upload Issue

2005-06-20 Thread D. Hageman
I have a mod_perl module that I wrote for mod_perl 1.x that would accept an image upload from VBA script running under Microsoft Access. I then converted it to use mod_perl 2.0.1 and Apache2::Upload 2.0.5. It seems to work fine using a web browser, but it doesn't appear to like my upload

RE: Getting lots of redefined statements in the error_log

2005-06-20 Thread Aaron Scott
Huh? Are you saying that MyPackage and SomeDir::MyPackage are somehow the same file? Or that they actually declare the same package name? Or don't declare any package name at all? - Perrin For a file /path/to/SomeDir/MyPackage.pm, if I 'use MyPackage;' in one file, then subsequently 'use

RE: Getting lots of redefined statements in the error_log

2005-06-20 Thread Perrin Harkins
On Mon, 2005-06-20 at 16:04 -0600, Aaron Scott wrote: For a file /path/to/SomeDir/MyPackage.pm, if I 'use MyPackage;' in one file, then subsequently 'use SomeDir::MyPackage' in another file, the second 'use' generates redefined subroutine errors. But those should be two totally separate files

RE: Getting lots of redefined statements in the error_log

2005-06-20 Thread Aaron Scott
But those should be two totally separate files with separate package declarations at the top. It doesn't make sense that there would be any namespace collisions. - Perrin I can duplicate it with the following simple example: -- mod_perl.conf PerlRequire conf/startup.pl Location /loc

Re: [JOB] Perl Programmer for large-scale Apache/mod_perl development

2005-06-20 Thread Philip M. Gollucci
Ian D. Stewart wrote: Dodger wrote: If you're unwilling to let a programmer telecommute, you're still in the dark ages, and I wouldn't want to work for you anyway. I am amazed by the technology companies that think that programming requires physical presence in the 21st century. Yeesh.

Re: Apache2::Upload Issue

2005-06-20 Thread Joe Schaefer
D. Hageman dhageman@dracken.com writes: ggRIASUVORK5CYII=\r\n--AaB03x-- ^^ Missing an \r\n there I think. -- Joe Schaefer

Re: [JOB] Perl Programmer for large-scale Apache/mod_perl development

2005-06-20 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am amazed by the technology companies that think that programming requires physical presence in the 21st century. Yeesh. I'm all for it. Among other good reasons, requiring a physical presence is a great insurance against being outsourced. -

Re: [JOB] Perl Programmer for large-scale Apache/mod_perl development

2005-06-20 Thread Foo Ji-Haw
Not just being outsourced. But I don't think even with today's technologies you can create better team dynamics than in physical presence with the rest of the guys. Unless you are a super programmer who can change the world just by being in the basement 8x5, team play (not just with the

Re: Apache2::Upload Issue

2005-06-20 Thread Dorian Taylor
uh, hate to bring up a no-brainer, but just out of curiosity, is the Content-length request header accurate for the encoded payload *after* it's encoded? just on the off chance that libapreq2 is stricter than libapreq1, an error like end of file reached would occur if there was extraneous data

how to run a startup script once (redux)

2005-06-20 Thread Foo Ji-Haw
Hello guys, I've asked this before, but I hope to follow through on the suggestions contributed by you guys. You know that Apache2 restarts itself, so a PerlRequire or a PerlPostConfigRequire will be run more than once. A friendly mailing list reader suggests using

RE: Getting lots of redefined statements in the error_log

2005-06-20 Thread Perrin Harkins
On Mon, 2005-06-20 at 16:45 -0600, Aaron Scott wrote: I can duplicate it with the following simple example: -- mod_perl.conf PerlRequire conf/startup.pl Location /loc SetHandler perl-script PerlResponseHandler MyHandler /Location -- startup.pl use SomeDir::MyPackage;

Re: [JOB] Perl Programmer for large-scale Apache/mod_perl development

2005-06-20 Thread Perrin Harkins
Guys, I understand that you're interested in discussing the dynamics of programming teams and hiring approaches, but it really isn't on-topic for this list. It isn't even specifically about Perl. Maybe one of you could start a thread on http://discuss.joelonsoftware.com/?biz and post the URL

Re: how to run a startup script once (redux)

2005-06-20 Thread Perrin Harkins
Have you tried putting a use Module inside of a Perl section in the config or in your startup.pl and testing how many times that gets run? My sneaky plan is to have the startup script start off an independent single-threaded process (if this is possible). This would probably be more easily

Re: [JOB] Perl Programmer for large-scale Apache/mod_perl development

2005-06-20 Thread Garrison Hoffman
Perrin Harkins wrote: Guys, I understand that you're interested in discussing the dynamics of programming teams and hiring approaches, but it really isn't on-topic for this list. It isn't even specifically about Perl. Maybe one of you could start a thread on