dougm 2002/06/11 09:27:57
Modified:lib/ModPerl WrapXS.pm
Log:
be better prepared for GvUNIQUE support
Revision ChangesPath
1.46 +3 -3 modperl-2.0/lib/ModPerl/WrapXS.pm
Index: WrapXS.pm
On Mon, 10 Jun 2002, Bill Moseley wrote:
You are correct to worry. You should use flock() to prevent your log file
from becoming corrupted. See perldoc -f flock() for more details.
Maybe it's a matter of volume. Or size of string written to the log. But
I don't flock, and I keep the log
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 10 June 2002 11:23 pm, Vuillemot, Ward W wrote:
: Really interesting, xml
: appears to be
: the final destination for most of us, even if now i
: prefer objects.
:
: Ciao, Valerio
That is my big question. Is
On Mon, 10 Jun 2002, Tom Brown wrote:
?? AFAIK, Files opened in append mode, and written to without buffering,
should _not_ get corrupted in any manner that flock would prevent.
(basically small writes should be atomic.)
Right, and does Perl write with buffering when you call print()? Yes,
On Tue, 11 Jun 2002, Sam Tregar wrote:
On Mon, 10 Jun 2002, Tom Brown wrote:
?? AFAIK, Files opened in append mode, and written to without buffering,
should _not_ get corrupted in any manner that flock would prevent.
(basically small writes should be atomic.)
Right, and does Perl
On Tue, 11 Jun 2002, Tom Brown wrote:
Right, and does Perl write with buffering when you call print()? Yes, it
does!
huh? That's what $| is all about, and $|++ is a pretty common line of
code.
A pretty common line of code that wasn't in the example shown! And that
only unbuffers the
PAUSE is suffering from a SEGV since I installed RC1. After I upgraded
yesterday to snapshot 17165 I finally caught the following within gdb.
I'd appreciate further instructions where to go from here.
Program received signal SIGSEGV, Segmentation fault.
0x400d05ff in _IO_fflush (fp=0x89e4178) at
Paul G. Weiss wrote:
Sorry if this has been covered - I searched to no avail.
I'm getting the following error when trying to start
an Apache 2.0.36 with ModPerl::Registry:
/usr/libexec/ld-elf.so.1:
/usr/lib/perl5/site_perl/5.6.1/i386-freebsd-thread-multi/auto/Apache/Request
From: Rob Nagler [mailto:[EMAIL PROTECTED]]
Sent: 10 June 2002 20:41
... a Facade is the front face of the web site which includes colors,
text, URLs, etc. All the other MVC components talk to the currently
selected Facade when they need these values.
The controller calls
On Tuesday, 2002-06-11 at 10:44:26 +0100, Leon Brocard wrote:
Yup, I have a designer here who is willing to come up with something.
Constructive ideas welcome offlist. Better slogans than modperl: the
only way to fly, modperl: obey your thirst etc. very welcome too ;-)
SCNR:
Quetzalcoatl:
mod_perl: The camel with wings
John
-Original Message-
From: Lupe Christoph [mailto:[EMAIL PROTECTED]]
Sent: 11 June 2002 11:51
To: Leon Brocard
Cc: mod_perl list
Subject: Re: OSC early bird and mod_perl T-Shirts
On Tuesday, 2002-06-11 at 10:44:26 +0100, Leon Brocard wrote:
Yup, I
Hi.
I've set up my system to move gradually over to mod_perl and been clearing
hurdles for several weeks now -- things like Apache::DBI cached connections
to mysql never timing out and eventually running mysql out of connections,
strange sudden bogging-down of the server, and so on, and I've
Maybe this year Randal Schwartz can get his idea implemented. I think he
had suggested a motto last year that people seemed OK with but then the
T-Shirts never got done in the end...
Ah, the annual motto vote... :) Just re-read the same thread in the
archives last year.
Later,
Gunther
On Mon, 2002-06-10 at 13:29, Ray Zimmerman wrote:
So how is everybody else handling URL mapping? Do others group this
kind of data together with fonts, colors, etc? And where do you
define it?
As Perrin mentioned, OpenInteract does this by allowing individual
packages (distributable
I have some questions for users of Templating... we currently, (in
another language) have a set of standard functions for things like
printing data tables, so in our HTML page outlines, we just insert a
call to
printDataTable( table = $table, user = $user, data = $data, layout =
layout );
On Tuesday, June 11, 2002, at 01:37 PM, Chris Winters wrote:
On Mon, 2002-06-10 at 13:29, Ray Zimmerman wrote:
So how is everybody else handling URL mapping? Do others group this
kind of data together with fonts, colors, etc? And where do you
define it?
A single mod_perl handler catches
I should also mention -- my perl is patched with the patch
to DynaLoader.pm that Doug MacEachern posted in this list.
-P
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 4:06 AM
To: Paul G. Weiss
Cc: [EMAIL PROTECTED]
Subject: Re:
I was once told that in order for mod_perl CGI code to
work properly all functionality/logic needed to reside
in a function named init(). Now that I'm pouring over
mod_perl documentation getting things running, I haven't
found any mention of this.
So ... is there any special purpose w/in
I know we are straying WOT, but I would love to get a better feel for XML, XSLT and
AxKit. There are a lot of different systems out there. . .and part of me wants to
just do it my way (in large part to learn), but I also realize that I really want to
get to the business of also being
On Tue, 11 Jun 2002, Ward Vuillemot wrote:
I know we are straying WOT, but I would love to get a better feel for
XML, XSLT and AxKit. There are a lot of different systems out there. .
.and part of me wants to just do it my way (in large part to learn), but
I also realize that I really want
Ward Vuillemot wrote:
I know we are straying WOT, but I would love to get a better feel for XML, XSLT and
AxKit.
Barrie Slaymaker has written a couple of articles on perl.com that serve
as a good intro to AxKit.
- Perrin
Mark Korey wrote:
I was once told that in order for mod_perl CGI code to
work properly all functionality/logic needed to reside
in a function named init(). Now that I'm pouring over
mod_perl documentation getting things running, I haven't
found any mention of this.
So ... is there any
All this MVC discussion has been very helpful. There are obviously
many ways to do MVC web apps and I'd love to get a bit of feedback on
the approach we are currently planning for ours before we jump into
coding. Our app is a platform for running econ experiments, each of
which is structured
Hi,
All this talk of MVC and a universal despatch mechanism has
started me thinking about Java Web Applications and how they are bundled
into a standard configuration (e.g., Java's Servlet standard 2.3)
Would such a standard (albeit optional) be useful for mod_perl2?
On Tue, 11 Jun 2002, Paul G. Weiss wrote:
I had already thought of that. Strace shows that the
correct libperl.so is the one that is being loaded. Just
to make sure I deleted all others and did
ln -s /usr/lib/perl5/5.6.1/i386-freebsd-thread-multi/CORE /usr/lib
but strace tells me
John Hurst wrote:
Still, I don't think that replacing this:
Location /search
SetHandler perl-script
PerlHandler Controller::Search
/Location
with this:
[% Ctrl.Search() %]
makes Controller::Search any less a controller.
You're right. It just looks kind of odd to me,
On Mon, 10 Jun 2002, John Bass wrote:
Hello,
Does anyone have a solution for the cgi_header_out function within
mod_perl 2.
I have found it is used by Apache:Session, and would like to use this
module.
i was going to ask, why on earth would Apache::Session use cgi_header_out,
but then
On 6/11/02 12:46 PM, Perrin Harkins wrote:
John Hurst wrote:
Still, I don't think that replacing this:
Location /search
SetHandler perl-script
PerlHandler Controller::Search
/Location
with this:
[% Ctrl.Search() %]
makes Controller::Search any less a controller.
You're
could this be a version of freebsd with broken threads support? i've
heard many cases of that. chances are if you rebuild perl without
-Dusethreads and apache with the prefork mpm, this problem won't be
there.
so the problem that I see on linux is unrelated?
this tested with prefork
Hi there,
On Tue, 11 Jun 2002, Harnish, Joe wrote:
Does anyone know of issues with mod_perl and post?
Here's one.
73,
Ged.
From [EMAIL PROTECTED] Tue Jun 11 18:16:11 2002
Date: Wed, 20 Mar 2002 19:20:29 + (GMT)
From: Ged Haywood [EMAIL PROTECTED]
To: Stas Bekman [EMAIL PROTECTED]
On Wed, 12 Jun 2002, Stas Bekman wrote:
so the problem that I see on linux is unrelated?
dunno, i built with -Duseshrplib and seems ok linkage wise. tho
some ModPerl-Registry are tests failing with the same problem in
special_blocks:
# testing : ModPerl::Registry is not running BEGIN blocks
On Tue, 11 Jun 2002, John Siracusa wrote:
You're right. It just looks kind of odd to me, invoking a template for
something that is not a display-related task. It looks like the way
people typically do MVC in Mason or Embperl, with a first template that
doesn't do anything but invoke a
Title: RE: AuthenNTLM, IE, KeepAlives, Post?
Ged,
Will this help even when I am not up loading files?
Here is the test.pl script I am using.
#!/usr/bin/perl
require CGI;
use strict;
my $q = new CGI;
print $q-header;
print EODUMP;
html
body
form method=post
input type=text
At 01:01 PM 06/11/02 -0400, John Siracusa wrote:
On 6/11/02 12:46 PM, Perrin Harkins wrote:
John Hurst wrote:
Still, I don't think that replacing this:
Location /search
SetHandler perl-script
PerlHandler Controller::Search
/Location
with this:
[% Ctrl.Search() %]
makes
[% Ctrl.Search() %]
makes Controller::Search any less a controller.
You're right. It just looks kind of odd to me, invoking a template for
something that is not a display-related task. It looks like the way
people typically do MVC in Mason or Embperl, with a first template that
Hey people..
Wondering if someone could help me with
this...
I recently started using modperl2/apache2.
Everything seems to work ok except for Apache's error logging.
I don't seem to get my apache stderr untill I
shutdown/restart the server. Thenit prints out the whole
thing in one big
Hi
I have the simplest test case of a mod perl module which is
using Rec::Descent module to parse some string. I can run
the script on command line so there is no problem with the
script but when run via web server as a mod_perl module, I
get an error in the error_log :
[Tue Jun 11 14:25:27
(Apologies if you see this twice -- I sent it from an unsubscribed
email address first.)
Hi folks,
I just ran down a problem that was somewhat hard to find, and I didn't see any
mention of anything like it in the archives anywhere. I thought it might be
helpful to mention the details in case
- Original Message -
From: steve
To: [EMAIL PROTECTED]
Sent: Sunday, June 09, 2002 7:42 AM
Subject: Apache Error Log
Hey people..
Wondering if someone could help me with
this...
I recently started using modperl2/apache2.
Everything seems to work ok except for Apache's error
I am trying to install mod perl as part of Apache-ASP and am stuck at the
following error:
Apache.exe -k start
Can't locate Cwd.pm in INC (INC contains: .) at (eval 1) line 1.
I've searched the web and haven't found any solutions.
I have checked the perl INC using 'perl -V' and the path to
Two good books could be written on these subjects:
* Mastering Design Patterns with Perl (I understand that Mastering
Algorithms with Perl sells quite well)
* Rapid Web Application Development with Perl
The second one would describe the various application frameworks available,
and related
May I suggest a camel with the wings of an eagle or a double humped eagle???
The two icons are associated with the two invaluable references of the Perl
world and somehow the
design must incorporate them. I'm not about to suggest which creature gets
the prominence.
Final point:
I'm 10 hrs
here is a stretch
mod_perl, MODe opPERLtunity
mod_perl. one thing you cannot FOO::BAR (but you could (objectively, of
course!))
mod perl. scrumpt-diddly-delicious.
: -Original Message-
: From: Alfred Vahau [mailto:[EMAIL PROTECTED]]
: Sent: Tuesday, June 11, 2002 2:54
Hey people..
Wondering if someone could help me with
this...
I recently started using modperl2/apache2.
Everything seems to work ok except for Apache's error logging.
I don't seem to get my apache stderr untill I
shutdown/restart the server. Thenit prints out the whole
thing in one big
Hi,
some weeks ago i did a little improvement to HTML::Template, at least i
think it is a improvement ;)
It changes the way arrays/loops are handled.
1.) If you pass in a array-reference, it will be not dereferenced anymore
I did this, so i can use a small Wrapper-class, which allows me to
On Tue, 11 Jun 2002, Nico Erfurth wrote:
It changes the way arrays/loops are handled.
1.) If you pass in a array-reference, it will be not dereferenced anymore
I did this, so i can use a small Wrapper-class, which allows me to
tie a database-statement to an array, and returning the
On Tue, 11 Jun 2002, Paul G. Weiss wrote:
I suspect that pre-fork would work too, but I'm desparately
trying to get threads working.
you should try a different os then. i'm sitting next to the guy who wrote
worker mpm, he says the freebsd thread library does not work well enough
for use
Gerald Richter wrote:
Embperl 2.0 can invoke such a controller (it's called application object
there) after it has setup it's request parameters (GET/POST data, session
data, etc.) and before any templates are get a chance to run.
That sounds like a good addition to Embperl. Can you give a
On Tue, 11 Jun 2002, Sam Tregar wrote:
On Tue, 11 Jun 2002, Nico Erfurth wrote:
It changes the way arrays/loops are handled.
1.) If you pass in a array-reference, it will be not dereferenced anymore
I did this, so i can use a small Wrapper-class, which allows me to
tie a
On Tue, 11 Jun 2002, Nico Erfurth wrote:
I thought about this, and i'm wondering how much ppl realy use it in
this way. IMHO it should be a Don't try this, it will break, instead
introducing this copy-workaround. But i think i will use this patch
only for my private-version, because i don't
On Tue, 11 Jun 2002, Sam Tregar wrote:
I thought about this, and i'm wondering how much ppl realy use it in
this way. IMHO it should be a Don't try this, it will break, instead
introducing this copy-workaround. But i think i will use this patch
only for my private-version, because i
Hi!
Concerning the yearly what to put on the t-shirts-discussion...
I was thinking about doing a mod_perl Obfuscation for some time, and today I
found some time and wrote up something .. It's not that much obfusacated,
but it looks nice (mod_perl in ASCII art) and works (see the POD after the
OK, until I can decide whether to take a chance on FreeBSD-current
or to convince my employers who were so enamored of FreeBSD that
we should rebuild the server with Linux, I'm going prefork.
It still doesn't work precisely as it should though. I decided
to go with the cvs builds of apache and
Thomas Klausner wrote:
Hi!
Concerning the yearly what to put on the t-shirts-discussion...
ah, yes... :)
I was thinking about doing a mod_perl Obfuscation for some time, and today I
found some time and wrote up something .. It's not that much obfusacated,
but it looks nice
I'm writing again about the problem I was having
yesterday with modules being
unable to set their own custom directives.
This is becoming my own private
nightmare, and I am certain it is the result of a
very stupid move I made: somehow
in my initial grapplings, I upgraded from what I
Hi,
Hi,
All this talk of MVC and a universal despatch mechanism has
started me thinking about Java Web Applications and how they are bundled
into a standard configuration (e.g., Java's Servlet standard 2.3)
Would such a standard (albeit optional) be useful for mod_perl2?
I think it would
(Please disregrard previous message I hit send
prematurely...)
I'm writing again about the problem I was having
yesterday with modules being
unable to set their own custom directives.
This is becoming my own private
nightmare, and I am certain it is the result of a
very stupid move I
Matt Sergeant writes:
There's quite a few things that are a lot harder to do with XML in
plain perl (especially in SAX) than they are in XSLT.
This assumes you need XML in the first place.
It's trivial to manipulate Perl data structures in Perl. It's
also easy to manipulate XML in Perl.
will wrote:
I am trying to install mod perl as part of Apache-ASP and am stuck at the
following error:
Apache.exe -k start
are you mixing Apache 2.0 with mod_perl 1.0? -k is an Apache 2.0 option
whenever reporting problems you have to tell us what you are doing and
what versions you are
I was thinking about doing a mod_perl Obfuscation for some time, and
today I
found some time and wrote up something .. It's not that much obfusacated,
but it looks nice (mod_perl in ASCII art) and works (see the POD after
the
code..)
tres cool.
yes, very cool Thomas, looks like a good
Gerald Richter wrote:
Embperl 2.0 can invoke such a controller (it's called application object
there) after it has setup it's request parameters (GET/POST data,
session
data, etc.) and before any templates are get a chance to run.
That sounds like a good addition to Embperl. Can you
steve wrote:
Hey people..
Wondering if someone could help me with this...
Please do not repost your question 3 times!
I recently started using modperl2/apache2. Everything seems to work ok
except for Apache's error logging.
I don't seem to get my apache stderr untill I shutdown/restart
Hello all
I'm forwarding this to the AxKit and mod_perl lists - sorry for being
that late, hope it's not too late for anyone who wants to
participate. I'm thinking about visiting the event myself, if not
speaking, but I've already had a talk this March in Zurich (badly
prepared and
On Tue, 11 Jun 2002, Andreas J. Koenig wrote:
PAUSE is suffering from a SEGV since I installed RC1. After I upgraded
yesterday to snapshot 17165 I finally caught the following within gdb.
I'd appreciate further instructions where to go from here.
test case?
#4 0x816fc96 in Perl_my_popen
As Jarkko and Nick have pointed out, line numbering is off. I cannot
find out why this is the case, the sources *are* from 17165 as I can
verify via Apache::Status.
On Tue, 11 Jun 2002 08:23:18 -0700 (PDT), Doug MacEachern [EMAIL PROTECTED]
said:
doug On Tue, 11 Jun 2002, Andreas J. Koenig
General ideas are in Stas' introduction and other mod_perl books. Here are
some practical numbers which may be useful for your reference. (assuming
that all your servers have 1G RAM)
1) when daily unique IP are about 25K. Run mod_perl on the database machine
with persistent Apache::DBI database
66 matches
Mail list logo