Barb and Tim wrote:
full honesty. The language itself is hard enough to swallow.
How is Perl hard to swallow? Perl is so easy and flexible.
Stephen
On Fri, 14 Jan 2000, Barb and Tim wrote:
It could really enhance your integrity if you also
presented honest evaluations of the downsides of Perl.
The promotion of Perl on this site is so ubiquitous and
one sided, and Perl has such a bad reputation in many ways,
that somebody like me has a
You're going to love this... your startup.pl file is
fine... almost. You're forgetting a key part of the script... issue this
shell command and it'll work:
echo "1;" startup.pl
The startup script needs to return true from its
eval. :)
--SC
--
Sean
So, present us all with a detailed analysis of all Perl's failings and
its bad reputation compaired the competition, so that we may see the
light and turn to the true path. Until then we'll all stagger along
happily in the darkness.
Even better, write your own language like Larry did and see how
It could really enhance your integrity if you also
presented honest evaluations of the downsides of Perl.
The promotion of Perl on this site is so ubiquitous and
one sided, and Perl has such a bad reputation in many ways,
that somebody like me has a hard time swallowing the sunny
Ricardo Kleemann [EMAIL PROTECTED] writes:
Hi everyone,
I don't know what's causing this, and there are no errors being logged in
my error_log.
I'm running apache 1.3.9, mod_perl 1.21, linux 6.1
I have a startup.pl with a bunch of modules in it. If I run the startup.pl
by itself it is
Hi there,
On Fri, 14 Jan 2000, CAMERON, CRAIG wrote:
I'm about to write a parser for CC/PP
http://www.w3.org/TR/NOTE-CCPP/ (Composite Capability/Preference Profiles)
as a perl module for apache. Basically the information is stored in rdf
http://www.w3.org/TR/PR-rdf-schema which is
If I use $r-notes in a mod_perl handler, is it accessible via the
core apache request object in other non-perl modules?
$r-notes('foo','bar');
Is the value of notes stored in the core apache process and if so,
is it accessible by other modules by their similar r-notes
On Fri, Jan 14, 2000 at 07:00:13AM +0100, Gerald Richter wrote:
You need to setup session handling at all, e.g.
PerlSetEnv EMBPERL_SESSION_CLASSES "FileStore SysVSemaphoreLocker"
That is PerlSetEnv EMBPERL_SESSION_CLASSES "FileStore NullLocker"
in my httpd.conf
When you restart your
Since this happens on two machines with at least slightly different Linux
distributions (one is Mandrake 6.0, the other a Redhat 5.2) I
think it is a configuration problem... so if someone could please
email me her complete configuration files I'd have more means to
test
What you describe
[EMAIL PROTECTED] (Sean Chittenden) wrote:
If I use $r-notes in a mod_perl handler, is it accessible via the
core apache request object in other non-perl modules?
$r-notes('foo','bar');
Yup, it's stored in the regular Apache notes table. That's why it has to be
flattened to a
Sean Chittenden wrote:
If I use $r-notes in a mod_perl handler, is it accessible via the
core apache request object in other non-perl modules?
$r-notes('foo','bar');
Is the value of notes stored in the core apache process and if so,
is it accessible by other modules by
PerlModule HTML::Embperl
This line loads Embperl at startup, remove it!
I could also build embperl staticly, maybe that helps.
This will surly solve a lot of problems.
But a quick
try some minutes ago with just recompiling mod_perl with
USE_DSO=0 and configuring apache with
David Harris wrote:
Jeff Warner wrote:
We were a mySQL shop. We replaced mySQL with Oracle8i/mod_perl and
and Apache::DBI. Works great, once it is all setup. Our overall
processing is faster with Oracle too. The lack of transactions and
views put an immediate end of mySQL
On Fri, Jan 14, 2000 at 06:31:50PM +0200, Stas Bekman wrote:
Just read the mod_ssl vs. apache_ssl thread at /.org:
http://slashdot.org/apache/99/12/22/1711203.shtml
jimjag claims that DSO is slower than static builds at the runtime:
QUOTE
Q: Why has using DSOs anything to do with
Ricardo Kleemann [EMAIL PROTECTED] writes:
Hmmm :-(
On 14 Jan 2000, Frank D. Cringle wrote:
Without having checked your list, I'll wager that the "good" modules
are all pure perl and the "bad" ones use machine-language XS
extensions.
So typical modules like MD5 and MIME::Body
Barb and Tim wrote:
It could really enhance your integrity if you also
presented honest evaluations of the downsides of Perl.
WHy don't you start.
-jwb
According to Barb and Tim:
It could really enhance your integrity if you also
presented honest evaluations of the downsides of Perl.
Perl has two downsides. One is the start-up time for
the program and mod_perl solves this for web pages.
The promotion of Perl on this site is so ubiquitous
Hi,
I'm trying to preload and precompile all ASP scripts by including
Apache::ASP in the startup.pl. However, when I do so, httpd core dumps
with a segmentation fault in SDBM_File:
Program received signal SIGSEGV, Segmentation fault.
0x403dfe27 in boot_SDBM_File () from
Doh! I forgot to say what I'm running:
Apache::ASP v. 0.17
SDMB_File v. 1.0
mod_perl v. 1.21
Apache v. 1.39
RedHat 6.1 on Linux 2.2.12 x86
At 11:30 AM 1/14/00 , you wrote:
Hi,
I'm trying to preload and precompile all ASP scripts by including
Apache::ASP in the startup.pl. However, when I do
The troll vanisheth!
- Transcript of session follows -
... while talking to mc5.law5.hotmail.com.:
RCPT To:[EMAIL PROTECTED]
550 Requested action not taken:user account inactive
550 [EMAIL PROTECTED]... User unknown
Drat... I was kinda hoping that would've been it. Oh
well Alright, how about this:
1) Set your logging level to debug (is it right now? I bet not)
2) Wrap your startup.pl file in some perl tags in your
httpd.conf file and eval the code. See if it sets $@. If
The troll vanisheth!
ha!
Reminds me of the Zen story of an old fisherman in a boat on a lake in a heavy can't
see your hands fog. He bumps into another boat, and shouts at the other guy, "Look
where you're going would you! You almost knocked me over." He pulls up beside the
boat and is
I've just started using mod_perl, for a project that will deploy on both
Solaris and NT. The initial development was done on Solaris, and I've just
moved things over to NT to verify that they work there too. My modules all
run on NT, but StatINC doesn't seem to pick up changes that I make to
Hi there,
On Fri, 14 Jan 2000, Ricardo Kleemann wrote:
unfortunately that's not it... :-(
If it's any help, mail me your config files and I'll fire it up on my
development server (Slackware Linux 2.0.34/Apache 1.3.9/mod_perl 1.21)
to see what happens.
Have you got the latest greatest of all
On Thu, 13 Jan 2000, Joshua Chamas wrote:
Hey,
A possible XML extension for Apache::ASP came up when
Paul Linder created an internal mapping for msg$string/msg
to translate to Locale::PGetText::gettext($string), for
internationalization, and only for his version of the module.
I
On Fri, 14 Jan 2000, Barb and Tim wrote:
It could really enhance your integrity if you also
presented honest evaluations of the downsides of Perl.
The promotion of Perl on this site is so ubiquitous and
one sided, and Perl has such a bad reputation in many ways,
that somebody like me has a
On Fri, Jan 14, 2000 at 12:34:00PM -0800, Ed Phillips wrote:
The troll vanisheth!
ha!
Reminds me of the Zen story of an old fisherman in a boat on a lake in a heavy can't
see your hands fog. He bumps into another boat, and shouts at the other guy, "Look
where you're going would you!
ok, i think if you mean redhat 6.1 as opposed to linux6.1 i have the same prob,
i have never been able to insert anything into the startup.pl
besides Apache CGI CGI::Carp .
if i try to add any third parties it dies
i did a quick search on the mail list and the red hat updates and found that
Hey, aren't we decided to use the advocacy list for this kind of threads?
You are funny folks, when you don't want us to discuss something here, you
tell go talk about this somewhere else, so we did.
Please follow your own suggestions. This current thread was split into 2,
one discussed here
Dmitry Beransky wrote:
Doh! I forgot to say what I'm running:
Apache::ASP v. 0.17
SDMB_File v. 1.0
mod_perl v. 1.21
Apache v. 1.39
RedHat 6.1 on Linux 2.2.12 x86
This might be yet another RedHat problem ... have you tried
rebuilding your perl / mod_perl from scratch. Out of
Yep, everything runs just fine if I don't preload Apache::ASP. My
apache/mod_perl are rebuilt, but I'm still using Perl off the original
RedHat distribution (totally forgot about his). I can try recompiling
it...I'll be back with the result shortly.
Thanks
Dmitry
At 01:26 PM 1/14/00 ,
On Fri, Jan 14, 2000 at 01:31:17PM +0100, Gerald Richter wrote:
What you describe looks good to me. There is one other issue, that is
dynamlic linking mod_perl. How comes mod_perl into your Apache? Is it
dynamicly loaded at runtime (i.e. by a LoadModule in your httpd.conf) or is
it staticly
This might be yet another RedHat problem ... have you tried
rebuilding your perl / mod_perl from scratch. Out of curiosity
really, because I think you should still rebuild stuff,
does SDBM_File load fine, if not being preloaded ?
Well, I just finished recompiling perl and mod_perl, but the
God, I love this list. :)
($APACHE_ROOT = $APACHE_SRC) =~ s,/src/?$,,;
last if $NO_HTTPD; # or $USE_APACI;
I'm thinking maybe it's a problem with the 5.005_57 I have installed. I'll back
out to 5.005_03 and see what happens.
Thanks again,
-Bill
Hi there,
On 14 Jan 2000, William P. McGonigle wrote:
Can someone explain what APACHE_ROOT is meant to be? I'm assuming
it's somehow different thatn APACHE_SRC (which I'm defining).
The expression
($APACHE_ROOT = $APACHE_SRC) =~ s,/src/?$,,;
sets the scalar $APACHE_ROOT to be equal to the
Hi, I'm your neighborhood Debian package maintainer for mod_perl...
I made the mistake of getting off this list a while back, and I've
accumulated a bit of a collection of patches since then. Most in the
last few days. So I figured now that I was actively working on
mod_perl again, I would
Ged,
You are very entertaining. The code in question is also known as a combined
copy and substitution.
Beware if you haven't got /src on the end of your source directory!
If you don't have a match with the string or regexp , you'll just get a straight copy.
Ed
X-Authentication-Warning:
On Fri, Jan 14, 2000 at 07:28:22PM -0500, Daniel Jacobowitz wrote:
The first really important one is a fix for the crashes I've been
seeing in boot_DBI. I can't find the exact message in the archive now,
but anyone who reported that a problem was fixed by setting
PERL_STARTUP_DONE_CHECK=1
Dmitry Beransky wrote:
This might be yet another RedHat problem ... have you tried
rebuilding your perl / mod_perl from scratch. Out of curiosity
really, because I think you should still rebuild stuff,
does SDBM_File load fine, if not being preloaded ?
Well, I just finished recompiling
On Sat, Jan 15, 2000 at 12:55:47AM +, Tim Bunce wrote:
On Fri, Jan 14, 2000 at 07:28:22PM -0500, Daniel Jacobowitz wrote:
The first really important one is a fix for the crashes I've been
seeing in boot_DBI. I can't find the exact message in the archive now,
but anyone who reported
Matt Sergeant wrote:
First off, it's tag %args[$string]/tag or tag %args/ - the syntax is
extremely strict and I'll come down on you like a ton of bricks if you
don't stick to it :)
A valid regexp for ascii and Latin-1 only XML parsing is:
while ($contents =~ /([^]*)(\/)?([^]+)/) {
I don't know about this, are you sure you copied over your
new modperl httpd to /usr/local/apache after the build,
and did a full stop / start, this is a common step overlooked
by the best of us.
Yes, I'm using the new build. I've compiled perl with debugging turned on
and now gdb shows
This sounds like the same corruption problem that I talked about in my
last message - could you try exporting LD_PRELOAD=/path/to/modperl.so?
(I'm guessing from context that you're using a DSO - apologies for the
non-sequitor if I'm wrong, I just got back on the list).
On Fri, Jan 14, 2000 at
Yep, I am using DSO, but LD_PRELOAD didn't help
[dmitry@bio-york ~]# set LD_PRELOAD=/usr/lib/apache/libperl.so
[dmitry@bio-york ~]# gdb httpd
GNU gdb 4.18
This GDB was configured as "i386-redhat-linux"...
(gdb) run -X
Starting program: /usr/sbin/httpd -X
[Fri Jan 14 18:34:03 2000] [error] [asp]
Sorry if this seems perl and not mod_perl, but its from the
mod_perl book n all. On page 115, in Lincoln's navbar code
he writes a loop as:
local $/ = "";
while ($fh) {
s:(/BODY):$navbar$1:i;
s:(BODY.*?):$1$navbar:i;
} continue {
"John" == John M Vinopal [EMAIL PROTECTED] writes:
John My guess is that this example code was trimmed down from s
John something fancier and this is a palimpsest fragment.
I occasionally have "vestigial code" left in my column programs as
well. Durn this writing thing! barbie"Writing is
47 matches
Mail list logo