RE: UTF-8

2010-08-31 Thread John Saylor
hey this is not a mod_perl issue, it's a perl issue. so you need to think about what version of perl lies under your mod perl and then use your favorite search engine and type in 'perl $VERSION unicode' and get busy. [$VERSION is the perl version] or you could start here:

Re: decline and fall of modperl?

2009-03-26 Thread john saylor
hey On 3/25/2009 11:24 PM, Foo JH wrote: You probably have a feel why Perl isn't a strong choice given these objectives. hmm ... i'm not sure about your second point. it's a somewhat arbitrary example, but look at a 'hello world' in several languages. perl is definitely on the easy side to

RE: Apache2::Filter::Minifier::JavaScript

2007-09-19 Thread John Saylor
hi -Original Message- From: Graham TerMarsch [mailto:[EMAIL PROTECTED] [deletions] I've been working on some projects needing JS minification recently and wanted to ping others and find out if anyone else would find it useful to have a mod_perl2 filter that auto-minified your JS

RE: Both mod_perl 1 and 2 on same machine

2007-05-15 Thread John Saylor
hi ouch. the only suggestion i have is to reasess your needs. really- you'll spend at least 10 hours dicking around with the network config to say nothing about httpd.conf. if you get paid over $10. and hour, that makes it worth it buy a new machine. -Original Message- From: Walt Reed

RE: Getting user input during apache startup

2007-05-02 Thread John Saylor
hi -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 8:59 AM [deletions] I use perl sections quite intensively to configure my apache server. I would like to build in some user interaction during startup. The code works insofar that it

RE: Getting user input during apache startup

2007-05-02 Thread John Saylor
hi -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 9:35 AM [deletions] So i really would prefer to have a way to ask user input from within a perl section. But am I asking something that is impossible? what's impossible? perl and apache

RE: regex quickie

2007-04-26 Thread John Saylor
hi -Original Message- From: Martin Moss [mailto:[EMAIL PROTECTED] What I would like to do is test if $string contains one of the patterns in the pattern match and then carry out a function based upon which pattern is matched... Any ideas? perldoc perlre [look for Backtracking]

RE: Apache::DBI (another) question

2007-03-29 Thread John Saylor
hi i think more traffic will create problems. as you state, you are going against an explicit warning in the docs. this is just begging for trouble. why not just let Apache::DBI manage the handles for you? that is what it is written for. also, i think mysql can handle lots of connections ...

RE: mod_perl implementation possibility

2007-03-15 Thread John Saylor
hi i'd encourage you to look into mod_perl as it can be amazing in letting you get the most out of your hardware. as far as running multiple unrelated perl apps using mod_perl- i think it happens every day! you just need to program them accordingly. also, you can use virtual hosts under apache

perl-status not reporting anything

2007-03-13 Thread John Saylor
hi i'm doing some debugging with Apache::Status and coming up to an obstacle. i have 2 modules- one of which works and one doesn't and i'm having a hard time figuring out what's going on. here's the top part of the testing module: package ZZ::testing; use strict; use warnings; use

Re: initializing global data structures from a db

2005-07-12 Thread John Saylor
( 05.07.11 16:43 -0400 ) Perrin Harkins: Okay, where are you getting stuck? apache [mod_perl] seg faults on startup. it works on perl 5.8.x but not on earlier versions [upgrading is not an option at this time]. What does? calling a subroutine that initializes a global data structure in a

Re: initializing global data structures from a db

2005-07-12 Thread John Saylor
hi On Mon, 2005-07-11 at 17:14 -0400, John Saylor wrote: apache [mod_perl] seg faults on startup. ( 05.07.11 17:26 -0400 ) Perrin Harkins: When exactly does it segfault? it never completes starting up. it segfaults when it goes to the db to grab the data. i enabled DBI tracing and saw

initializing global data structures from a db

2005-07-11 Thread John Saylor
hi i have a problem with initializing perl data structures from the db. i have an init routine that does all kinds of stuff and is called from startup.pl. one of the things i wanted it to do was to grab some stuff from the db and populate a hash with it. btw, i'm not using Class::DBI and to

Re: OT: Free Software as a Security Hole

2005-01-12 Thread John Saylor
hi ( 05.01.12 09:21 -0800 ) Goehring, Chuck, RCI - San Diego: I was speaking to an acquaintance that has a security background and she told me her company prohibits the use of Free software because there is no guarantee that there are no backdoors in it. why is this not true of proprietary

Re: Free Software as a Security Hole

2005-01-12 Thread John Saylor
hi ( 05.01.12 09:34 -0800 ) Goehring, Chuck, RCI - San Diego: I was looking for something authoratative like FSF, ASF or Richard Stallman documents etc. you may have heard of 'google' ... -- \js oblique strategy: remove specifics and convert to ambiguities

Re: make test fails- can't find My::child_init

2003-12-11 Thread John Saylor
hi ( 03.11.26 13:46 -0800 ) Stas Bekman: and if you add: $INC{My/child_init.pm} = __FILE__; similar to my previous patch. This is not the right solution, but something to try. For some reason it can't see the sub child_init created in startup.pl, and tries to find it in

Re: make test fails- can't find My::child_init

2003-12-11 Thread John Saylor
hi ( 03.12.11 11:19 -0800 ) Stas Bekman: try adding Perl $INC{My.pm} = __FILE__; /Perl just before: PerlChildInitHandler My::child_init i did it and it's about the same. here's the error log: [Thu Dec 11 14:59:23 2003] [error] Can't locate My/child_init.pm in @INC (@INC contains:

another try on the child process failing

2003-12-11 Thread John Saylor
hi i've been writing back and forth with stas about getting make test to finish correctly. i decided to try and let perl do as much of it as i could. here is my makepl_args.mod_perl: APACHE_SRC=../apache_1.3.29/src USE_APACI=1 USE_DSO=1 PERL_SSI=0 EVERYTHING=1

Re: make test fails- can't find My::child_init

2003-11-26 Thread John Saylor
hi John Saylor wrote: when i run make test i keep getting errors like this: [Tue Nov 25 17:12:11 2003] [error] Can't locate My/child_init.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0

Re: make test fails- can't find My::child_init

2003-11-26 Thread John Saylor
hi ( 03.11.26 10:45 -0800 ) Stas Bekman: Aha! Sorry for missing this point. Any luck with this patch? Index: t/docs/startup.pl === RCS file: /home/cvs/modperl/t/docs/startup.pl,v retrieving revision 1.44 diff -u -r1.44