> > I see. You mean your session state is not stored on the database,
> > but stored as encrypted text in session id itself.
>
> Yes, and the problem is whether there is some good
> algorithm, which will generate this kind of session
> ids. Security is not main part of this solution, but
> easy fi
> So what is the REASON for this copy-on-first-call behaviour.(there have to
> be some reason, if i'm not totaly dull to see it )
It's called a closure. You can read up on it in the Camel book or in Damian
Conway's OO book.
- Perrin
> I try to precompile a perl script on SERVER start-up using the typical
> configuration. But I start the server a get a lot of errors or warnings
that
> refer to standard Perl modules.
It looks like you're having problem stemming from mod_perl executing the
PerlRequire command twice during start
> Umm... Is
>
> > return OK;
>
> the correct thing to return when using multiple handlers?
Yes, according the mod_perl docs. It only stops if you return something
other than OK or DECLINED.
- Perrin
> Long time no hear... I heard you moved to NY...
This is true. I'm exploring new territory.
> I think I do send a response back to Apache! I
> mean I return OK status. Or do you mean something else? Like
> $r->header_out(...)?
You need to send the headers (with $r->send_http_header or somethi
> Can some one tell me why I can not set a cookie...
> I have a module that is supposed to set a cookie called Cookie_Check:
> And after my second handler should kick in and do some other magic. In
> my httpd.conf I have:
>
>
> SetHandler perl-script
> PerlHandler MIS_APPS::RHS
There have been some messages on the Mason list about people experiencing
startup.pl being loaded twice, even without PerlFreshRestart on. I know the
server restarts during startup, but PerlRequire and PerlModule are both
supposed to obey the laws of %INC, right? I seem to remember some
discussi
> My impression was that the locking in Apache::Session is a one-time lock
so
> it just fixes data integrity issues. So I am not sure if it is fancier
than
> Cache::Cache unless Cache::Cache has no locking at all (or no concept of
> lock choice).
What I meant was that since there is a separate lo
on 8/4/01 1:34 PM, brian moseley at [EMAIL PROTECTED] wrote:
> also, has there been any thought given to locking cached
> items? when i'm using a shared cache with multiprocess
> apache, the opportunity exists for multiple requests to
> access a single session simultaneously, which can lead to
> r
> > Not having read anything before this, but it seems that your machine is
> > going into swap because there is not enough RAM available. That kills
> your
> > performance always. Could you run your test on a different machine or
> > temporarily switch off the regular server?
> >
> > Trying to
Robert Landrum wrote:
> The guide is a great thing, and removing items from it is risky.
Think of it as refactoring.
Stas Bekman wrote:
>>>Maybe the guide should include links to the most mature peristence
>>>abstraction layer projects out there:
>>>- Class::DBI
>>>- Alzabo
>>>- Tangram
>>>- SPOPS
>>>
>
>I suppose that could fit into the help.pod. Otherwise it's not directly
>related to mod_perl, and the guide
Gunther Birznieks wrote:
>
> At 07:16 PM 8/1/2001 -0400, Perrin Harkins wrote:
> > > I have a CGI application where I do:
> > >
> > > require 'db.pl';
> > >
> > > where db.pl defines some functions and variables related to connecting t
> Mmm, haven't seen it, but we use LONG instead of CLOB as the datatype
> for the sequence. Is there any reason to use CLOB, and does using LONG
> make the problem disappear?
Oracle doesn't want you to use LONG anymore. It's deprecated.
Questions for Steven:
Have you followed all the documentat
> I have a CGI application where I do:
>
> require 'db.pl';
>
> where db.pl defines some functions and variables related to connecting to
> the database, and then executes C<$dbh = DBI->connect(...)>.
> I can get around this by changing C to C, but is that the
> "correct" way of doing things?
> http://axkit.org/docs/presentations/tpc2001/anydbd.axp
Is this basically a hash of SQL statements, indexed by DBD type? Or is
there something more that I'm missing? (I should have gone to your TPC
talk...)
> > I have found that stored procedures + perl module wrapper around the
procs.
> > is a nice, balanced approach.
> >
> > The procs. give a nice performance boost as they are precompiled into
the
> > server (we use Sybase).
>
> They are definitely faster, and significantly so.
Maybe so for S
> As for SQL, I just wish people would expand their horizons a little and
> start doing a bit of reading. There are so many different ways to avoid
> embedding SQL in application code and I sincerely wish programmers would
> THINK before just coding... it's what differentiates scripters from
> en
> "not to mention the HTML embedded all throughout the perl (are they on
> glue?)"
>
> What's the alternative there? Embed perl in the HTML?
You could do that (Text::Template), or you could use a tool like Template
Toolkit or HTML::Template. See
http://perl.apache.org/features/tmpl-cmp.html for
> I think a lot of people's approach, including mine, is to have OO Perl
> modules for all database access. In my code (I use Mason), a web page
> only gets its data through calls like this:
>
> my $obj = NAIC::User->(DBH=>$dbh, EMAIL=>'[EMAIL PROTECTED]');
> $obj->load;
> my $groups_list = $obj-
John Buwa wrote:
> Isnt there a way to clear global variable to a null after a web transaction
> is complete?
Apache::PerlRun does that.
- Perrin
http://perl.apache.org/features/tmpl-cmp.html
The article "Choosing a Templating System" is now available at the above
URL. This is the same material I presented at the O'Reilly conference,
but a bit less rushed. It gives an overview of currently available
templating tools and their basic featu
> Anybody know if exist some module how CGI::Out for buffering output in CGI
script ?
Is there a reason you can't just append everything to a variable until the
end? If that won't work, you can tie STDOUT. Apache::Filter might help.
- Perrin
> > > But if I go to
http://www.buildreferrals.com/rotatorstats.asp?login=pmak0
> > > (that's the same URL, but with a query string added), then I get a
"404
> > > Not Found" error.
> >
> > Of course you do. Your regex ^/(.*)\.asp doesn't match that URL with
> > the query string.
>
> Why not? I di
> In my lightweight httpd.conf, I have:
>
> RewriteRule ^/(.*)\.asp http://66.33.85.239/$1.asp [p]
>
> If I go to http://www.buildreferrals.com/rotatorstats.asp, it gets proxy'd
> correctly.
>
> But if I go to http://www.buildreferrals.com/rotatorstats.asp?login=pmak0
> (that's the same URL, but w
> Kevin Schroeder wrote:
> I want to create a program for mod_perl that shares information in
> between all the child processes so they all have current information.
There are many CPAN modules that cover this. Check the guide at
http://perl.apache.org/guide/. One option that's easy to get
> is there any good thorough documentation on building custom
> config directives other than what's in the eagle book? i
> left mine back in au and i don't really want to buy another
> one :)
You're in luck, that chapter is on-line:
http://www.modperl.com/book/chapters/ch8.html
> Does this mean that if there's a heavily used script on my system that
> needs to be VERY fast, then it may be worth making it into a mod_perl
> handler?
Not unless you get astonishing amounts of traffic and your script does
almost nothing. These are very simple test cases, so they exaggerate
> I do feel that compile time matters, but really with 60 seconds
> and high MaxRequestsPerChild, these systems are getting plenty
> of compiling caching.
The thing is, if mod_caucho takes 5 seconds the first time it hits each
template, but is the fastest afterwards, these numbers don't give a ve
Good work as usual, Joshua.
> mod_caucho
> used to look a lot faster, but my testing methodology changed.
> I used to take the results of the second benchmark run, and
> publish those, but this time only ran the -test for minor
> caching after starting resin ( & tomcat ). So, I'
Good work as usual, Joshua.
> mod_caucho
> used to look a lot faster, but my testing methodology changed.
> I used to take the results of the second benchmark run, and
> publish those, but this time only ran the -test for minor
> caching after starting resin ( & tomcat ). So, I'
> I need to save some status informations about each request (in my
> "filter" each request passes through 3 phases : PerlTransHandler,
> PerlAccessHandler and PerlHandler.
You want $r->pnotes.
- Perrin
> no need to do a lookup or rely on PerlSetupEnv On I wouldn't think...
>
> my $ssl = Apache::URI->parse($r)->scheme =~ m/^https/;
Or maybe just look at the port # of the request.
- Perrin
> What is needed, IMHO, is a clear
> framework,/description/phlogeny/geneology of perl templating systems.
I'm writing such a beast for TPC this month, and will publish it when it's
ready. I'm not covering every templating module on CPAN though, just the
ones that people seem to actually use bas
Take a look at http://perl.apache.org/guide/ and read the stuff on libapreq.
- Perrin
> I think that CGI::FastTemplate does all of that.
> Please have a look at it, and see if everything you need is not
> already in it.
It's a good module for CGI, since it doesn't rely on caching/compiling
techniques, just simple regex stuff. It will use a lot less RAM than tools
that compile in-
> I've sent this email to Template-Toolkit mailing list... but there doesn't
> seem to be anyone, so I'm sending it here ...
Um, you did send it at 6:30PM on a Sunday (yesterday). Support on that list
is really good, but you can't expect everyone to be on the same schedule as
you.
> How can in
on 7/8/01 2:46 AM, Gunther Birznieks at [EMAIL PROTECTED] wrote:
> In addition one of the criteria for "useful" to me is "fast". If the
> template system is slow, it's quite annoying. However, this goes against
> other people's ideas of "useful" being "full featured". As Steven Wright
> says (para
> We use ePerl for a fair number of things, and I have yet to run into
> something we needed of which it was not capable. What are you
> thinking of?
It's not a question of it not being capable, it's just that most people seem
to choose one of the more full-featured tools. There's lots of talk
on 7/7/01 9:30 PM, Ron Pero at [EMAIL PROTECTED] wrote:
> Just received my issue of Dr. Dobbs Journal today, and one of the articles
> is "A Tiny Perl Server Pages Engine". Pretty nifty.
>
> Read about it here:
> http://www.ddj.com/articles/2001/0108/0108g/0108g.htm
>
> Here is an excerpt:
> "P
> i had looked at many other modules, and i
> know other people who have as well but want a simpler
> alternative.
Simpler in terms of how quickly it can be learned? Text::Template and
Apache::ePerl are both pretty trivial. In fact, most of these packages are
pretty easy if you just want to use
> yes, i have *yet another* templating mechanism for
> mod_perl, and i'd like to add it to CPAN if there are
> no major objections.
I hate to be a naysayer, but this doesn't look sufficiently different from
the other options to merit adding it to CPAN. The trouble is, there are
already too many
> I'm building a web application that has a User perl module. I have
several other perl modules that need to know the user id of the current
logged in user (or 0 for a guest user). I was thinking that I could write
the User class in such a way that every time (except the first) a
constructor was
> 2. Cause any httpd_perl child process which exceeds 20 megabytes in
> memory usage to terminate after it's done.
Apache::SizeLimit (and others) can do this.
- Perrin
> The minimal-module approach can be managed nicely via Autosplit, which
> puts eash sub in its own module with a stub AUTOLOAD that snags things
> into core only when they are called
Note that if they do get called this will end up using more memory than if
you had just loaded them during startu
> I've given Filter and SSI a shot according to the perldocs.
>
> It didn't work. I stated to hhack on some of the problems, which first
involved
> in the make install depositing them in the wrong diretory, and then they
SSI
> needed use Apache::Filter statements added.
>
> Finally, Filter cam ba
> IS there a way of pre-processing and post processing a handler?
Only by using something like Apache::Filter. Apache itself does not support
chaining handlers.
- Perrin
Brooklyn Linux Solutions CEO wrote:
>
> I have modules controlling all the files and their access and content in the
> directy. I have no idea
> really why SSI is shut down. I never used it before.
It looks like you're trying to post-process the output of a PerlHandler
with SSI. The only way
Joachim Zobel wrote:
> Including If-Modified-Since - 304 responding?
No, none of them handle that (well, AxKit?), probably because most sites
need to do more than stat-ing the template files to determine if the
page content has been modified. A site with no dynamic content could be
pre-generated
> I've seemed to have lost my ability to use SSI whenI use the content
> handlers with Mod_perl.
>
>
> Is there anyway I can fix this?
Can you be more specific about what you're trying to do? You can still use
mod_include with mod_perl installed, and you can use Apache::SSI either
alone or a
> At 14:33 19.06.2001 +0530, you wrote:
> >Is there something in SSI which cant be done in a better way using Perl
> >??
>
> Yes.
>
> 1. SSI with XBitHack full plays the 304 game for me. Every time the
catalog
> database is updated, its SSI frame gets a touch. Thats it. Simple.
Efficient.
>
> 2. S
I hate to belabor this point, but I don't want people to get the wrong idea:
> > BEGIN { do '/foo/bar/query.pl'; }
>
> Sorry, I guess I should have been more explicit. I don't want to
> require in the file on every request, but rather only allow the
> same file to be require'd multiple times (to
> Well, this is the last time I am going to bring this up. I am on Apache
NT,
> and I have the following .pm file that I believe I localized everything in
> order to create a socket. The code below does work. But it never makes a
> new socket. As you can see I print out the IO::Socket::GLOB and i
> > > BEGIN {
> > > delete $INC{'/foo/bar/query.pl'} if exists
$INC{'/foo/bar/query.pl'};
> > > require '/foo/bar/query.pl';
> > > }
> >
> > Mark, your suggestion doesn't work because of BEGIN.
>
> Ooops, gotta go to sleep. Your suggestion, Mark, will work :) but only in
> Registry/PerlR
> I have a question about require when using mod-perl.
The full story is at
http://theoryx5.uwinnipeg.ca/guide/porting/Name_collisions_with_Modules_and.
html
It sounds like you're having trouble because your .pl files are not real
modules but rather subs that get added into the current package s
> Still seeking assistance form anyone who is experienced with sockets and
> mod-perl /apache on NT.
No NT here, but...
> Anyway, as my previous email showed, I built a site which used a global
> filehandle to a socket. It worked great for about two hours, and then all
of
> a sudden stopped. Aft
From: "Steve Wells" <[EMAIL PROTECTED]>
> I can use $r->lookup_uri('/cgifile.cgi') to gather up the subrequest and
> run it using the run() command. However, the information from the CGI
> is passed back to the browser instead of handed off to me for
> processing. Is there some way to capture th
"Tom Lancaster" <[EMAIL PROTECTED]> wrote:
> Absolutely. But I'd like to bring up something I've noticed in
benchmarking
> 'real' sites: many, if not all, of the templating solutions appear to
> parse the whole of an html page. This is at least true of Apache::ASP and
> HTML::Mason, which I have u
> > wow. template toolkil took a big hit, there. (no mod_perl on
> > this list? hmm!)
>
> This benchmark can be very non-representive. If you don't know how to
> optimize each and every "thing" under test, you end up with unfair
> benchmark and come to potentially wrong conclusions. Take TT, add c
> You use notes (or pnotes) when you want a kind of global variable that is
> localised to the request, but also accessible to sub-requests.
It's also useful for caching things that MUST be cleaned up at the end of
the request. You can put a database handle in pnotes and be confident that
it wil
[EMAIL PROTECTED] (Randal L. Schwartz) wrote:
> I'm told that my CPU throttler
> was used at etoys.com for a similar purpose, and permitted them to
> keep from losing millions of dollars of revenue due to people
> spidering their catalog.
That's correct, although it was actually a bunch of DoS at
> Sure - I believe in magic, depending on your definition of it. I KNOW
> there's a 4th method, because I've seen it work. There is an e-commerce
web
> site which uses an outside cart programmed in CGI (Perl?). The original
web
> site passes no identifying marks such as the session ID through the
on 5/12/01 5:46 PM, Morbus Iff at [EMAIL PROTECTED] wrote:
>> I store a .stor file which is a storable dump of my XML tree. I check the
>> mtime of that against the mtime of the .xml file. Whichever is newer I
>> load that. Works fast and is very simple.
>
> I'll certainly check it out.
The only
on 5/9/01 5:45 PM, Morbus Iff at [EMAIL PROTECTED] wrote:
>> Keep in mind, if you load this data during startup (in the parent) it will
>> be shared, but reloading it later will make a separate copy in each child,
>> chewing up a large amount of memory. You might have better luck using dbm
>
> T
It's not hard to do, but it is potentially dangerous since you could
overwrite globals like $/ and change the behavior of your program. In
general, it's best to avoid cluttering the symbol table.
- Perrin
on 5/9/01 5:14 PM, Morbus Iff at [EMAIL PROTECTED] wrote:
> That, unfortunately doesn't tell me what causes a USR2 signal to be sent to
> Apache.
You can use the kill command to send a USR2 signal.
> Or when it's caused.
When you send it.
> I only want to reload the file when said file
> has c
on 5/4/01 9:28 AM, Mark Maunder at [EMAIL PROTECTED] wrote:
> I have an Apache::Registry script that is using XML::Parser. The parser throws
> a
> 'die' call if it encounters a parse error (Why?).
Because it's an exception and the parser can't continue.
> I was handling this by
> putting
> the c
on 4/30/01 8:47 PM, brian moseley at [EMAIL PROTECTED] wrote:
> On Mon, 30 Apr 2001, Jeffrey W. Baker wrote:
>
>> type of exception. Right now I cannot in fact think of
>> any program I have written that branches on the type of
>> exception. Java encourages this with multiple catch
>
> in CP
On Fri, 20 Apr 2001, Francesco Pasqualini wrote:
> But are there in the mod_perl architecture some guidelines and/or
> frameworks that encourages the MVC design patern ? I think that
> Apache::ASP could be (for example) the right tool, adding the
> "forward" feature.
The forward feature looks lik
> "Chutzpah" is an interesting way of putting it. I've been thinking
> of them as "slimeballs in the busy of conning webkids into
> thinking they have a real RDBM product".
>
> (It isn't a moot point, because it's the same people working on
> it: human character issues are actually relevant when
> b) Flat file : Create a Linux directory structure with the same hierarchy
as
> the attributesi.e., directory structure has
> ///. ip numbers is the file name
which
> contains a list of ads. Objective is to pick the right file, open this
file
>and create a hash with the contents of the file.
> Can you briefly explain why it leaks memory?
I haven't tried it, but I'm guessing it's creating a new anonymous sub on
every request.
> I have been playing with Apache::Leak and Devel::Leak trying to figure out
> what is happening when Perl code leaks memory, but I haven't got my head
> around
> > It might be easier and more bulletproof to build the conf file
> > off-line with
> > a simple perl script and a templating tool. We did this with Template
> > Toolkit and it worked well.
> > - Perrin
>
> That would be fine and dandy, but it's not exactly what I'm going after.
> Currently if I
> What I'm trying to do is have apache build the httpd.conf
> file dynamically when it starts from a MySQL database.
It might be easier and more bulletproof to build the conf file off-line with
a simple perl script and a templating tool. We did this with Template
Toolkit and it worked well.
- Pe
> On 16 Apr 2001, Chip Turner wrote:
>
> > The modperl book mentions it double hashes to prevent a
> > malicious user from concatenating data onto the values being checked.
> > I don't know if they are referring to this weakness, but I suspect
> > they are. Sadly, the book doesn't seem to offer a
Matt Sergeant wrote:
> > Is there a way I could use to specify a not condition?
> > as in
> >
> > SSLVerifyClient require
> >
> >
> > That would let me list the exceptions, and everything else would be
> > restricted by default..
>
> It's really frustrating, but this is *not* possible...
> As part of my ongoing effort to streamline my mod_perl apps, I've come
> to discover the joy of constant subroutines and perl's ability to
> inline or eliminate code at compile time. I have a solution that
> works, but would be interested in seeing if others had better
> syntactic sugar..
You
> I'm trying to address 2 issues:
>
> A. Avoiding a single point of failure associated with a
>having a central repository for the data, such as a NFS
>share or a single database server.
> B. Avoiding the overhead from using heavyweight tools like
>database replication.
>
> So I've bee
> I am currently using Storables lock_store and lock_retrieve to maintain
> a persistent data structure. I use a session_id as a key and each data
> structure has a last modified time that I use to expire it. I was under
> the impression that these two functions would be safe for concurrent
> ac
On Thu, 29 Mar 2001, Victor Michael Blancas wrote:
> I'm planning to implement a DBI session management integrated with
> Apache::ASP, much like how Apache::Session works.
Might as well just use Apache::Session, if it already does what you need.
> Is this better for clustered web servers with a
On Tue, 27 Mar 2001, DeWitt Clinton wrote:
> Now, this implies that a module, such as the Cache::MemoryCache, which
> currently shares data for a particular process by creating a global
> hash, would only share data for one instance of the Perl interpreter
> associated with that thread. If I want
On Tue, 27 Mar 2001, DeWitt Clinton wrote:
> Which reminds me of something. These cache objects are not currently
> thread safe. When should I start expecting multi-threaded
> apache/mod_perl to become mainstream enough to warrant an overhaul of
> the code? I imagine that nearly most Perl libra
> have done a search on CPAN for "resume" and "cv" did not come up with
anything
> like what i am doing
http://www.zeuscat.com/andrew/work/resume/formats.shtml
- Perrin
> Ok, what about calling sync before accesing the database? (read and write)
> Will it force the process to sync its data with the disk, or will it cause
> the corruption of the file on the disk, as the process might have a stale
> data?
Well, that's what we don't know. As David Harris pointed o
Stas Bekman wrote:
> So basically what you are saying is that sync() is broken and shouldn't be
> used at all. Something fishy is going on. The purpose of sync() is to
> flush the modifications to the disk.
Saving changes to disk isn't the problem. The issue is that some of the
database gets cac
On Wed, 21 Mar 2001, Stas Bekman wrote:
> > You mean with DB_File? There's a big warning in the current version
> > saying not to do that, because there is some initial buffering that
> > happens when opening a database.
>
> The warning says not to lock on dbm fd but an external file!
I think y
On Tue, 20 Mar 2001, Joshua Chamas wrote:
> I know the tie/untie MLDBM::Sync strategy with DB_File is
> slow, but what size data are you caching?
I'm not. Well, actually I am, but I use BerkeleyDB which handles its
own locking. I just noticed this in the Guide and figured that either it
was out
On Tue, 20 Mar 2001, Tim Gardner wrote:
> I understand that the RSS is the resident size in KB and the SZ
> column is the size of the process, but what should I be seeing in the
> way of reduced memory? The 13MB/18MB is not much different from when
> I don't preload anything. Should I be seei
On Tue, 20 Mar 2001, John Mulkerin wrote:
> There is no error message returned, it just goes back to the httpd 403
> error screen.
What about in the error log? Have you read the DBI docs on how to get
your error message to print? You should either have RaiseError on or be
checking return codes
On Tue, 20 Mar 2001, Stas Bekman wrote:
> > Is anyone aware of a safe to way to do multi-process read/write access
> > through a dbm module other than BerkeleyDB.pm without tie-ing and
> > untie-ing every time? I thought that was the only safe thing to do
> > because of buffering issues, but this
On Mon, 19 Mar 2001, John Mulkerin wrote:
> I'm trying to use the plain vanilla TicketTool.pm from O'Reilly's mod
> perl book, Apache Modules with Perl and C. It uses Tie::DBI to create
> a hash of the mysql connection. When I run just the authentication
> subroutine with Perl -d "authenticate.p
While working on adding info on Berkeley DB to the Guide, I came across
this statement:
"If you need to access a dbm file in your mod_perl code in the read only
mode the operation would be much faster if you keep the dbm file open
(tied) all the time and therefore ready to be used. This will work
On Mon, 19 Mar 2001, Charles J. Brabec wrote:
> The Perl advocate's version:
>
>mod_perl: Let's see you try to do this with Python.
I know you're only joking, but let's not fall into that trap of confusing
arrogance with advocacy. This is my chief complaint about Pythoners:
they're always i
On Mon, 19 Mar 2001, Joshua Chamas wrote:
> A recent API addition allows for a secondary cache layer with
> Tie::Cache to be automatically used
When one process writes a change to the dbm, will the others all see it,
even if they use this?
- Perrin
On Sat, 17 Mar 2001, Surat Singh Bhati wrote:
> Once I generate someoutput or page using my handler, I want to
> pass it to apache to process the #exec.
>
> Apache::SSI does not support #exec and "PerlSSI disabled in DSO build"
> I am using the DSO mod_perl.
>
>
> Any solution?
Apache::SSI do
On Wed, 14 Mar 2001, Issac Goldstand wrote:
> I still think that the above line is confusing: It is because mod_perl is
> not sending headers by itelf, but rather your script must provide the
> headers (to be returned by mod_perl). However, when you just say "mod_perl
> will send headers" it i
On Tue, 13 Mar 2001, Andrew Ho wrote:
> PH>Um, you're getting me confused now, but PerlSendHeader On means that
> PH>mod_perl WILL send headers.
>
> I recognize this confusion. Most recovering CGI programmers think that
> "PerlSendHeader On" means that you no longer have to do this in your CGI:
>
On Tue, 13 Mar 2001, Issac Goldstand wrote:
> The only problem was the PerlSendHeaders option. The first fifty or
> so times that I read the manpages, I understood that PerlSendHeader On
> means that mod_perl will SEND HEADERS, and that off meant supply your
> own... Somehow I figured out (eventu
On Mon, 12 Mar 2001, Gene Dascher wrote:
> How can I access the Apache Request object from a Perl package that I am
> calling from a Perl Authorization handler?
$r is the first argument passed to your handler.
my $r = shift;
> I tried using the following code in TestPackage.pm:
>
> my $r = Apa
> Can I ask why you are not useing IPC::Sharedlight (as its pure C and
> apparently much faster than IPC::Shareable - I've never benchmarked it
> as I've also used IPC::Sharedlight).
Full circle back to the original topic...
IPC::MM is implemented in C and offers an actual hash interface backed b
901 - 1000 of 1417 matches
Mail list logo