And indeed, they ought to die. Or be reimplemented. Or something,
but quite simply, don't use them. They'll break, they won't dwim,
and chances are they won't play nice with future/past versions of
Perl. Forget they even exist.
Details?
I'm using them with no problems in 5.005_03 (the real
I had already reached the same conclusion after I saw that
everyone would have to remember to say "my Dog $spot;" every time or the
whole thing falls apart.
Falls apart? How?
If you want something reasonably close, you could do what a lot of the
Template Toolkit code does and use arrays
Andres Pedrera wrote:
I need to make a file based parser that rightly run with mod_perl (think
it's a generic perl trouble, but I want ensure it works with mod_perl). What
I really need, is a parser which get parsing rules from an external file.
Parse::RecDescent maybe - it is very
On Tue, 23 Jan 2001, John Hughes wrote:
And indeed, they ought to die. Or be reimplemented. Or something,
but quite simply, don't use them. They'll break, they won't dwim,
and chances are they won't play nice with future/past versions of
Perl. Forget they even exist.
Details?
I'm
On Tue, 23 Jan 2001, John Hughes wrote:
I had already reached the same conclusion after I saw that
everyone would have to remember to say "my Dog $spot;" every time or the
whole thing falls apart.
Falls apart? How?
Because you miss one out and its a very difficult to find bug in your
(exists doesn't work).
Neither does delete.
Ok. But what should it do? What does it do for an array?
And overloading doesn't really work properly.
Details?
And reloading modules with phashes doesn't work right.
I steer clear of reloading, almost anything screws up.
And sub-hashes
On Tue, 23 Jan 2001, John Hughes wrote:
(exists doesn't work).
Neither does delete.
Ok. But what should it do? What does it do for an array?
But we're talking about hashes! At the very least it should make it so
that exists() returns false.
And overloading doesn't really work
At 11:36 23/01/2001 +0100, John Hughes wrote:
Neither does delete.
Ok. But what should it do? What does it do for an array?
perldoc -f delete
"In the case of an array, if the array elements happen to be at the end,
the size of the array will shrink to the highest element that tests true
for
On Tue, Jan 23, 2001 at 10:06:13AM +, Matt Sergeant wrote:
The only gain might be in a large DOM tree where there may be
thousands of objects. But then you're really better off using an
array based class instead (as I found out).
This is getting a bit off-topic, but I'm empirically found
On Tue, 23 Jan 2001, Robin Berjon wrote:
At 11:36 23/01/2001 +0100, John Hughes wrote:
Neither does delete.
Ok. But what should it do? What does it do for an array?
perldoc -f delete
"In the case of an array, if the array elements happen to be at the end,
the size of the array will
On Tue, 23 Jan 2001, DeWitt Clinton wrote:
On Tue, Jan 23, 2001 at 10:06:13AM +, Matt Sergeant wrote:
The only gain might be in a large DOM tree where there may be
thousands of objects. But then you're really better off using an
array based class instead (as I found out).
This is
At 12:50 23/01/2001 +, Matt Sergeant wrote:
Thats only 5.6+ though. So its only useful for internal applications (if
at all).
True, but we've been using 5.6 (built from AS source) in production for
quite a while now very happily. Also, I'm seeing more and more customers
having it or ready to
Hello Help,
I'd like to check my website and see why my test.asp is not working or
showing up on the browser.
http://www.technokia.com/test.asp
I have installed everything and followed the instruction at
http://www.apache-asp.org/
for my location this is what i have.
Location
Hello Help,
I'd like to check my website and see why my test.asp is not working or
showing up on the browser.
http://www.technokia.com/test.asp
I have installed everything and followed the instruction at
http://www.apache-asp.org/
for my location this is what i have.
Location
--
mod_perl digest
January 14, 2001 - January 20, 2001
--
Recent happenings in the mod_perl world...
Features
In my PerlAuthenHandler I need to send back the WWW-Authenticate-line.
I use $r-headers_out("WWW-Authenticate" = 'basic realm = "MyName"').
But if i returned from the Handler with "return AUTH_REQUIRED" , Apache
doesn't send this line in the header.
This is (one of) the relevant sections in
On Tue, 23 Jan 2001, Matt Sergeant wrote:
But if performance is absolutely key in XML parsing/processing, then you
really need to be looking towards Orchard, which we're co-developing with
Ken MacLeod (author of the PerlSAX bindings and XML::Grove). Current tests
reveal that its about 10
On Tue, 23 Jan 2001, John Hughes wrote:
I had already reached the same conclusion after I saw that
everyone would have to remember to say "my Dog $spot;" every time or the
whole thing falls apart.
Falls apart? How?
If you forget the "Dog" part somewhere, it's slower than a normal
I am currently writing a PerlLogHandler that will (hopefully) write request
info to a rolling logfile in a pipe delimeted format for hourly loading via
Oracle SQL*Load into a database (I know about Apache::LogDBI, but my DBA
group will not let me do this). I wish to use Apache::LogFile to
Hello all,
I'm trying to modify the query string from the client before sending it
off again. I would like to do something like so:
http://www.xyz.com?one=1 and modify the uri to
http://www.xyz.com?one=2
the problem is I'm not sure how to reference values in the query string. I
would like
Hello
I am running red hat 7.0 with apache version apache_1.3.14 trying to
compile mod_perl-1.24
and keep getting the following error
Creating Makefile in modules/standard
EXTRA_CFLAGS: -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I$(SRCDIR)/lib/expat-lite
-DNO_DL_NEEDED
* WARNING
I build Apache_1.3.14 with Mod_Perl-1.24_01
The complete build looks good and I can calling up page with http://hostname
But when I calling http://hostname/Server-info I get "file does not exist"
in the error_log file.
but if I do a httpd -l I can see mod_info is included in the compile
listing.
On Tue, 23 Jan 2001, Paul J. Lucas wrote:
On Tue, 23 Jan 2001, Matt Sergeant wrote:
But if performance is absolutely key in XML parsing/processing, then you
really need to be looking towards Orchard, which we're co-developing with
Ken MacLeod (author of the PerlSAX bindings and
On Tue, 23 Jan 2001, Matt Sergeant wrote:
Aside from categorically *not* being an XML parser (if it doesn't parse
XML 1.0 files then its not officially an XML parser)
Whatever. It's still 12 times faster at parsing files that
look very much like XML in a majority of
I'm having great difficulty getting 1.24_01 to compile...
Make test reports:
...make[1]: Leaving directory `/fs1/src/apache_1.3.14/src'
kill `cat t/logs/httpd.pid`
cat: t/logs/httpd.pid: No such file or directory
rm -f t/logs/httpd.pid
rm -f t/logs/error_log
../apache_1.3.14/src/httpd -f
Hi,
I just did an install of modperl 1.24_01/apache 1.3.14 and I got a few
failed tests. The tests that fail are actions, cgi, and include (in fact, I
had to delete the line in the test conf that contained the Action directive
in order to get the tests to run). And indeed, they should fail
At 10:51 19/01/2001 -0500, Neil Powers wrote:
Apache Version 1.3.0 required, aborting...
You need modperl 1.24_01 to compile against apache 1.3.14.
This is becoming a faq. Shouldn't we just remove 1.24 from the dist dir ? I
just mecanically did exactly the same mistake.
-- robin b.
Work is
Francis Mendoza wrote:
Hello Help,
I'd like to check my website and see why my test.asp is not working or
showing up on the browser.
http://www.technokia.com/test.asp
This is a VBScript page, Apache::ASP only support perl scripting
with ASP.
I have installed everything and followed
This is a re-posting with a bit more information:
I'm having trouble getting mod_perl 1.24 to compile using the Solaris compiler.
Compiler Version is: Sun WorkShop 6 2000/04/07 C 5.1)
OS is: Solaris 2.7
Details:
For various reasons I'm using the Apache 1.3.12 source tree,
On Tue, 23 Jan 2001, Paul J. Lucas wrote:
On Tue, 23 Jan 2001, Matt Sergeant wrote:
it doesn't compile on my stock Mandrake 7.0 laptop:
make[1]: Entering directory `/tmp/XML_Tree-1.0/mod/XML/Tree'
g++ -c -I../../.. -Dbool=char -DHAS_BOOL -I/usr/local/include
-O3
Neil Powers wrote:
Hello
I am running red hat 7.0 with apache version apache_1.3.14 trying to
compile mod_perl-1.24
and keep getting the following error
Are you using the gcc "2.96" that shipped with RedHat 7? If so try using gcc 2.95.
On Fri, 19 Jan 2001, Neil Powers wrote:
I am running red hat 7.0 with apache version apache_1.3.14 trying to
compile mod_perl-1.24
and keep getting the following error
Creating Makefile in modules/standard
EXTRA_CFLAGS: -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT
-I$(SRCDIR)/lib/expat-lite
Try all lower case: http://hostname/server-info
(You had a capital S)
And make sure you have something like this in httpd.conf:
Location /server-status
SetHandler server-status
Order deny,allow
Deny from all
Allow from foo.org
/Location
or you could modify the
On Tue, 23 Jan 2001, Matt Sergeant wrote:
Its perl adding the -fno-rtti, FWIW, not your Makefiles.
Then there's something odd about your Perl installation. Perl
shouldn't be giving the option. How does Perl "know" whether
RTTI is needed or not?
- Paul
Hi Folks,
I received some tips from an admin on a server where I am attempting
to get a program running under mod_perl using Apache::Registry
All was well for a few weeks, and then data files began to be corrupted
again... One of the items that was passed on to me was ( as below) regarding
After my earlier attempts to use mod perl I had
little success, so I have alittle more time, so I thought I would try it
again. I have a couple ofquestions. I have read through the
documentation and some of it is unclearsometimes until you really know what
you are doing.I understand about
On Tue, 23 Jan 2001, John Michael wrote:
I know that the modperl script has to go in the httpd/perl folder so that
apache will recognize it.
You can put the script anywhere you please. You only have to
make sure the directory is "use lib"'d.
If I move the scripts into the
Hi,
This is probably more of an Apache question but here goes.
I have 2 servers. One running a non-mod_perl apache and one running
mod_perl. The non-mod_perl server handles static content and ProxyPasses
any dynamic content to the mod_perl server.
Now the question. Is there a way (KeepAlive?)
38 matches
Mail list logo