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
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
`==='
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
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
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
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
On Thu, 2002-03-14 at 10:46, [EMAIL PROTECTED] wrote:
code:
| return %Actions::Vars::config{$conf}; |
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
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
lse should I be trying
to do?
Thanks,
Garth
10 matches
Mail list logo