Re: Persistant references [was] Persistent Net::Telnet Objects

2002-05-29 Thread Garth Winter Webb
You could just pass around a string rather than a subref: my $handler = 'sub { my $arg = @_; do_something(); }'; vs my $handler = sub { my $arg = @_; do_something(); }; When you want to call it later on you do it like: eval($handler)-('foo'); vs $handler-('foo'); Garth

Re: error_log contents

2002-05-18 Thread Garth Winter Webb
DB1 DB1 DB1 DB1 DB1 DB1 DB1 Does anyone know what this means? It seems to go away when I restart apache. Gregory -- ,---. Garth Webb [EMAIL PROTECTED] C: 415.652.7688 H: 415.701.0568 `==='

Re: How to get two perl namespaces in apache

2002-03-28 Thread Garth Winter Webb
to have in common. You also need separate copies of apachectl that fire up the httpd's so that they point at the right httpd.conf and have the right server root. Garth On Tue, 2002-03-26 at 11:16, Thomas K. Burkholder wrote: Hi there- Apologies if this gets sent twice - I sent a message

Re: Can't open perl script -spi.bak

2002-03-22 Thread Garth Winter Webb
On Fri, 2002-03-22 at 12:57, Robert Landrum wrote: That's is very weird, because this code doesn't seem to work: perl -e 'system(perl, -e1) == 0 or die oops' Actually, that's not all that weird. Most shells take care of stripping out garbage before setting the argument list. Since

Re: Subroutines taking time to return..

2002-03-20 Thread Garth Winter Webb
Have you tried using Apache::DProf? Using this is a lot easier than trying to add tons of debug messages. If you haven't used it or the regular DProf, it does what your doing automatically. It generates a file of data that you run 'dprofpp' on and you can get a list of the top 10 or so most

Re: [OT][ANNOUNCE] The New mod_perl logo - results now in...

2002-03-16 Thread Garth Winter Webb
On Sat, 2002-03-16 at 08:01, [EMAIL PROTECTED] wrote: Recently I had a discussion with a Java programmer, who said that mod_perl is a try to save the obsolete language Perl. His argument was that only Java programmers are searched, especially here in Europe. Interesting. I have a friend

Re: problems returning a hash of hashes using mod_perl

2002-03-14 Thread Garth Winter Webb
On Thu, 2002-03-14 at 10:46, [EMAIL PROTECTED] wrote: code: | return %Actions::Vars::config{$conf}; |

Apache::ASP and Frontpage extensions

2000-11-12 Thread Garth Parfitt
httpd program doesn't have the modperl modules compiled anymore although the frontpage modules are loaded perfectly. So it seems a case of either frontpage or modperl, but not both. Or am I being an idiot? Please help me Garth Parfitt Port Elizabeth South Africa

Visual Basic scripts with Apache::ASP

2000-11-12 Thread Garth Parfitt
Is it at all possible to run asp scripts that have been written in Visual Basic under Apache with mod_perl installed? They run fine on IIS but not on Apache. Please assist. Garth

Multiple SSI not getting parsed

1999-10-12 Thread garth
lse should I be trying to do? Thanks, Garth