dougm 2002/05/31 08:41:11
Modified:src/modules/perl mod_perl.h
Log:
add some MP_LARGE_FILES_ macros that could come in handy
Revision ChangesPath
1.43 +22 -0 modperl-2.0/src/modules/perl/mod_perl.h
Index: mod_perl.h
dougm 2002/05/31 08:41:40
Modified:xs/APR/PerlIO apr_perlio.c
Log:
seek is ok if both perl and apr have largefiles enabled
Revision ChangesPath
1.14 +1 -1 modperl-2.0/xs/APR/PerlIO/apr_perlio.c
Index: apr_perlio.c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 31 May 2002 4:09 am, Stas Bekman wrote:
Actually the new site (which should be released realy soon now) has a
nice and easy intro to mod_perl (thanks to Bill Moseley and others who
helped):
Steven Lembark wrote:
Also worth using large file support if you habitually
munge 2GB files.
Which is the default on linux.
--
Rafael Garcia-Suarez
From: Jesse Erlbaum [mailto:[EMAIL PROTECTED]]
Sent: 30 May 2002 22:42
To: 'Ray Zimmerman'; modperl List; Mason List
Jesse, thanks for your comments, I found them very interesting.
I am comfortable with Perl and Web programming (though previously
not the two together) and am about to embark
From: Jeff AA [mailto:[EMAIL PROTECTED]]
Hiya,
my 2 pence worth:
status] this seems to indicate the Model accepts method calls and
returns
data that will be rendered elsewhere. In our planned
development, there
is a LOT of tabular data - do you use any standards for the
data being
Cees Hek wrote:
Quoting Jayce^ [EMAIL PROTECTED]:
I've been researching the different modules for pushing your access log to a
dbi storage vs. local file and have one question which I'm not sure any of
them are able to do yet. Perhaps somebody has already thought of this and
I'm just
Hi,
I would like to implement sessions using only $ENV{REMOTE_USER} as the
session key as described on page 259 (Ch. 5) of the Eagle book.
I'm trying to use Apache::Session::MySQL. Since I'm generating my own
session key outside of Apache::Session (using $ENV{REMOTE_USER}), what
method(s) do I
French, Shawn wrote:
Recall that I am using: Apache/1.3.20 (Win32) mod_perl/1.25_01-dev
mod_ssl/2.8.4 OpenSSL/0.9.6a on Windows 2000 with PHP 4.21
Would this be why my scripts are working?
Mystery solved! Yes, that's why. You are running mod_perl in single
process mode because you're on
First, there is no way to effectively pass compiled code between
processes at this time. It isn't likely to happen with Perl 5 because
attempts at loading compiled bytecode from disk have usually had poor
performance and other issues.
Second, what you're proposing is probably not a good idea
Jeff AA wrote:
do you use any standards for the data being
returned to the Controller? eg do you use a struct [ie hash/array Perl
primitive] or do you return an object? eg a table object etc?
HTML::Template requires you to pass a perl data structure. Template
Toolkit can handle objects as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
along those same lines, I forgot to mention Apache::LogSTDERR, which
is similar I suppose (though I've never used it).
Any idea where I can find this one? Searching CPAN doesn't give me anything.
Jayce^
-BEGIN PGP SIGNATURE-
Version:
Jayce^ wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
along those same lines, I forgot to mention Apache::LogSTDERR, which
is similar I suppose (though I've never used it).
Any idea where I can find this one? Searching CPAN doesn't give me anything.
Hey Jeff Perrin --
HTML::Template requires you to pass a perl data structure. Template
Toolkit can handle objects as well (i.e. automatically call their
accessor methods to fetch properties). Passing perl structs
is faster,
while passing objects allows for some additional tricks
From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
Sent: 31 May 2002 16:27
Perrin, fab feedback as ever, I think I am almost at the 1,000
thanks for Perrin level 8-) - oh, and 1,000 apologies too, for
all the questions you've answered before! I hope you don't mind
me pestering you with yet
1. Problem Description:
* WrapXS/APR/Lock/Lock.c fails to compile. See the cut and paste at the
end (3).
* CC seems to be looking for libperl.(so|a).5.6.1 in
/usr/lib/perl/5.6.1/CORE/, but Debian seems to put libperl.so.5.6.1 in
/usr/lib. This doesn't seem like a mod_perl installer bug,
can i ignore this error? the script seems to work fine...
Subroutine print_get_num redefined at /var/www/perl/cancel.cgi line 19.
Subroutine print_gonna_del redefined at /var/www/perl/cancel.cgi line 27.
Subroutine print_do_nothing redefined at /var/www/perl/cancel.cgi line 74.
Subroutine
Jeff AA writes:
space and that column 5 which contains a possibly long name should
use the remaining available space, whilst column 1 which contains
a name should not be wrapped?
We call this a Grid widget in our framework (bOP). There are many
options:
Hi Jesse,
It's the addition tricks which bug me out. With those two words you
establish the mother of all slippery slopes to architecture oblivion. When
you have objects passing freely between your Controller and View (which
are quoted here, 'cuz I don't think they are separate in this
Hi
Where did it go?
Arnold
At 19:42 31.05.2002, Boex,Matthew W. wrote:
can i ignore this error? the script seems to work fine...
Subroutine print_get_num redefined at /var/www/perl/cancel.cgi line 19.
Subroutine print_gonna_del redefined at /var/www/perl/cancel.cgi line 27.
Subroutine print_do_nothing redefined at
At 21:50 31.05.2002, Arnold van Kampen wrote:
Hi
Where did it go?
The modules written for the Eagle book haven't been released to CPAN. They
are available online. See
http://modperl.com:9000/book/source/apachemod-code-1.02/lib/Apache/
--
Per Einar Ellefsen
[EMAIL PROTECTED]
I assume you are running your scripts under Apache::Registry.
Apache::Registry checks the modification time of your script on every
request and will recompile (via eval) it if it has changed. However,
nothing removes the old symbols from the previous compilation, so Perl
generates a warning.
Jesse Erlbaum wrote:
As you have already identified, the Model is simply a Perl module. The most
important thing to think of when writing a Model module is to make sure you
make it entirely separate from the user interface. It helps me to think of
the methods in the Model as potentially
You might want to consider Apache::AuthTicket, which IS in CPAN. It's
an expanded version of the Eagle book's modules, and very capable, yet
also relatively simple.
--Jon Robison
Per Einar Ellefsen wrote:
At 21:50 31.05.2002, Arnold van Kampen wrote:
Hi
Where did it go?
The modules
On Fri, 31 May 2002, Barry Hoggard wrote:
Do you have a favorite approach for writing the Model objects? At
Investorama we created a class called TableObject that would deal with
getting/setting values from the database, plus doing data verification
like checking for values being present
Perrin Harkins wrote:
Brian Parker wrote:
I'm trying to use Apache::Session::MySQL. Since I'm generating my own
session key outside of Apache::Session (using $ENV{REMOTE_USER}), what
method(s) do I have to override to prevent Apache::Session from trying
to create a session key for
Dave Rolsky wrote:
Alzabo could handle a _lot_ of this for you. Class::DBI could handle some
of it (though less).
SPOPS is also a good choice for this. All of them are on CPAN, just
waiting for you.
- Perrin
Jeff AA wrote:
For example to render a date in Excel some jiggery pokey is required,
and I would also expect a HTML V to print pretty dates rather than
20020531172534 (or something other than the raw stringification)
Yes. That's why you need to use a good templating system. There is a
Barry Hoggard writes:
Do you have a favorite approach for writing the Model objects?
One solution is to create an interface for accessors, i.e. get,
which the views call on objects they need to access. Our controller
and model objects share this same accessor interface, which allows
the views
Perrin Harkins writes:
That's exactly what I'm saying, except that I don't see what your
layout manager is for. You should just pass some data to a template
(or maybe to something fancier for certain types of output like Excel)
and then the template makes all the decisions about how to
Rob Nagler wrote:
Layout managers accept a declaration ('this cell is northwest', 'this
other one expands across the bottom', etc.). They interpret the decl
at run-time. It's like HTML, but more declarative. Some attributes
of our Grid manager are:
cell_nowrap - don't wrap the text in
Rob Nagler wrote:
Let's say, though, that you want the same template to render
in a WAP, Opera, Konqueror, IE, NS, etc. The implementation of Grid
handles this for you. For example, our code automatically renders
style sheets for IE5+, but no other browsers. (This isn't in Grid,
but you
Perrin Harkins writes:
The same template? How does the layout manager help with that? Does it
modify the template? It would make more sense to me if this were a sort
of abstraction to factor out common layout ideas from multiple
templates.
I think we're miscommunicating. I'm talking
I think it'll be great to present the current discussion as a tutorial,
so others can make a better use of the ideas thrown here, rather digging
in archives. This could be a great addition to our growing tutorials
section for the new site we are working on:
On Thu, 30 May 2002, Hill, Ronald wrote:
Hello All,
I am trying to setup the Apache-AuthCookie module and have run into a
problem. Every time
I try to login it just returns my back to the login screen. I can't get past
the login screen!!
(I have tried with Netscape and IE). Next I wrote a
36 matches
Mail list logo