Cees Hek wrote:
On Wed, 2002-02-20 at 13:27, John Stauffacher wrote:
All,
I am a bit confused as to what httpd.conf directives need to be used in
order to get apache to execute a PerlHandler when it encounters a
certain file type. What I want to do:
Execute a handler whenever
It occurred to me that using a scheme like this, it might be possible to
help improve mod_perl's popularity... Or, at least, the popularity of
Toolkits built under mod_perl... Using Files (or the
Apache::MIMEMapper module), makes mod_perl a bit more ISP friendly, as
it's a lot easier for
I know this is off topic, but I thought someone could use a break...
Given a page called xyz.html, I want to measure the amount of time a
user spent
on this screen (or page) along with other usability metrics. So I
figured I'll use
JavaScript since its running the entire time the page is up.
All,
I am a bit confused as to what httpd.conf directives need to be used in
order to get apache to execute a PerlHandler when it encounters a
certain file type. What I want to do:
Execute a handler whenever a *.qw file is accessed. The same
handler whether or not the file exists and not
On Wed, 2002-02-20 at 13:27, John Stauffacher wrote:
All,
I am a bit confused as to what httpd.conf directives need to be used in
order to get apache to execute a PerlHandler when it encounters a
certain file type. What I want to do:
Execute a handler whenever a *.qw file is
I recently picked up Programming web services with XML-RPC. It
mentions a module that I have yet to track down. I am unable to find
Frontier::Responder. O'Reilly's site mentions that Joe Johnston
wrote. Joe makes it pretty clear that he want's you to use it in
place of Frontier::Daemon
On Mon, Feb 18, 2002 at 10:25:59AM -0500, Robert Landrum wrote:
I recently picked up Programming web services with XML-RPC. It
mentions a module that I have yet to track down. I am unable to find
Frontier::Responder. O'Reilly's site mentions that Joe Johnston
wrote. Joe makes it pretty
thing you were referring to? :)
-- Ryan Parr
- Original Message -
From: Jon Robison [EMAIL PROTECTED]
To: Ron Beck [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 12:28 PM
Subject: Re: Question...
Cookies!
/me is in smartass mode today
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 12:28 PM
Subject: Re: Question...
Cookies!
/me is in smartass mode today.
--Jon
Ron Beck wrote:
Hello all,
I need to know how to clear the $ENV variables. For example, I use a
.htaccess file for specific
; Ron Beck
Cc: [EMAIL PROTECTED]
Subject: Re: Question...
I think I'm missing something...
If you set a session cookie (i.e. one with no expiry time) then the cookie
will be deleted immediately upon browser close, forcing the user to login
again if they've closed their browser instance.
If you don't
: Tuesday, February 12, 2002 12:28 PM
Subject: Re: Question...
Cookies!
/me is in smartass mode today.
--Jon
Ron Beck wrote:
Hello all,
I need to know how to clear the $ENV variables. For example, I use a
.htaccess file for specific directories which requires the user to enter
: [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 12:28 PM
Subject: Re: Question...
Cookies!
/me is in smartass mode today.
--Jon
Ron Beck wrote:
Hello all,
I need to know how to clear the $ENV variables. For example, I use a
.htaccess file for specific directories which
Hello all,
I need to know how to clear the $ENV variables. For example, I use a
.htaccess file for specific directories which requires the user to enter
userID and password. When they exit the page, I want them to have to
re-enter userID and passwd if they enter the page again. Does anyone
I need to know how to clear the $ENV variables. For example, I use a
.htaccess file for specific directories which requires the user to enter
userID and password. When they exit the page, I want them to have to
re-enter userID and passwd if they enter the page again. Does anyone
know how
Cookies!
/me is in smartass mode today.
--Jon
Ron Beck wrote:
Hello all,
I need to know how to clear the $ENV variables. For example, I use a
.htaccess file for specific directories which requires the user to enter
userID and password. When they exit the page, I want them to have to
Hi all,
I hope there'll be someone here to help we with a mod_perl prob, of
which I thought first it wouldn't be one. I refer to the "Writing Apache
Modules" book by Stein/MacEachern.
The prob is quite simple: I have to redirect certain requests under
certain conditions to another URL
Tompkins
--
Programmer
http://www.arttoday.com/
http://www.rebelartist.com/
--
- Original Message -
From: Martin Haase-Thomas
To: [EMAIL PROTECTED]
Sent: Wednesday, February 06, 2002 8:21 AM
Subject: QUESTION
Medi Montaseri wrote:
Can I somehow influence this behavior such that the user
will indeed see something like MyFile.txt.returned or
MyFile.txt.processed in the dialog box.
Add a Content-Disposition header like this:
Content-Disposition: attachment; filename=MyFile.txt.returned
I don't
Thank you very much...worked like a charm
Pierre Phaneuf wrote:
Medi Montaseri wrote:
Can I somehow influence this behavior such that the user
will indeed see something like MyFile.txt.returned or
MyFile.txt.processed in the dialog box.
Add a Content-Disposition header like this:
Hi!
I am been working on modperl for some time this is the
first time I am posting a question on the mailing
list. Please bear with me if I miss something or give
too much information.
I have been working on a project that can be described
as an online library. The modperl portion of it adds
Hi!
On Fri, Feb 01, 2002 at 10:24:24AM -0800, Mod Perl wrote:
Here are the problems/Questions that I face:
1. Since in this case each requests for a html file
has multiple files that need to be downloaded by the
client. Am I right to assume that the handler will act
on each and every file
2.If the answer to the above question is YES? The
Handler will add headers,footers for everything. What
do I need to do to apply the handler logic just to the
requested page and return the remaining files that are
needed to complete the requested page as they are?
In the Eagle book (as well
Thanks Thomas,
Question:
Here are the problems/Questions that I face:
1. Since in this case each requests for a html
file has multiple files that need to be downloaded
the client. Am I right to assume that the handler
will act on each and every file requested file
below my /en/course
Thanks Rob for your reply.
--- Rob Bloodgood [EMAIL PROTECTED] wrote:
Question:
2.If the answer to the above question is YES? The
Handler will add headers,footers for everything.
What do I need to do to apply the handler logic
justto the requested page and return the remaining
files
Hi,
I have a question regarding File Upload. My program Upload.cgi, prompt
the user
to upload a file, it then processes it and turns around and download it
by setting
the mime to a non-existing MIME type, say, SomeCrazyType via header()
method.
$q-header ( -type = application/x-SomeCrazyType
Hi there,
On Wed, 16 Jan 2002, Chris Hutchinson wrote:
I've recently built apache 1.3.22/mod_perl 1.26, statically with perl
5.6.1 on linux RH 7.0.
[snip]
ccversion='', gccversion='2.96 2731 (Red Hat Linux 7.0)',
At the risk of sounding like a broken record, have you tried
I've recently built apache 1.3.22/mod_perl 1.26, statically with perl
5.6.1 on linux RH 7.0.
Am now getting SIGSEGV at various points in a HTML::Mason web
application. These happen usually, but not always, when making
DBD::Pg fetches (happens both with and without Apache::DBI).
This
At 01:48 PM 1/10/2002 -0500, Perrin Harkins wrote:
You can actually use subroutines without fear! Also, reducing the amount of
magic (i.e. all of that package generation and eval stuff that Registry
does) can help clear up confusion. And you can use __END__ and __DATA__.
Good point.
I
For file organization, I'm thinking of making all page modules start
with a common namespace substring (e.g. Projectname::Page) to distinguish
them from the support (model) modules
I like to name the top level modules SiteName::Control::* and the model
modules SiteName::Model::*. Calling the
Can Apache::Reload be used to reload modules that are use-d by httpd PerlModule,
PerlRequire, or PerlHandler directives, or do they have to be explicitly use-d in
code that is inside a handler? I think the answer is yes - these are no different
than anything else except that memory sharing is
.
The question I'm having a hard time answering without going down both paths is:
What are the basic advantages, disadvantages, and limitations of:
(a) stuffing all this setup/framework code into a module (either a new module or
subclassing Apache::RegistryNG as you mention below),
versus,
(b
What are the basic advantages, disadvantages, and limitations of:
(a) stuffing all this setup/framework code into a module (either a new
module or subclassing Apache::RegistryNG as you mention below),
versus,
(b) stuffing it into a handler that all requests for a large subset of
the pages on
Background:
I'm working on a site that is a mix of php (which I'm gradually converting to
mod_perl) and mod_perl (running under Apache::Registry and using Template Toolkit
(TT2)) using an apache configuration like this:
Directory /
[...]
Files *.par
SetHandler perl-script
There are many *.par pages (estimate: 70-100 when conversion is
complete),
and they all contain the following code with minor variations that
could be
made consistent (like what constants are imported, what modules are
used,
etc.). I'd like to find a way to prevent having that code (below)
Hello everyone
I've just started learning modperl and I started with a simple module
for apache httpd 1.3.22.
This simple module (see below) sets gets a cookie at every request.
I thought it wasn't too difficult. I put it into the fixup phase (any
problem with it?).
First it seemed to work,
I've just started learning modperl and I started with a simple module
for apache httpd 1.3.22.
This simple module (see below) sets gets a cookie at every request.
I thought it wasn't too difficult. I put it into the fixup phase (any
problem with it?).
First it seemed to work, but when I put a
On Tue, Jan 08, 2002 at 10:07:18AM -0600, Stathy G. Touloumis wrote:
I've just started learning modperl and I started with a simple module
for apache httpd 1.3.22.
This simple module (see below) sets gets a cookie at every request.
I thought it wasn't too difficult. I put it into the fixup
My One request is:
[czinkos@vajradhara apache]$ telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.0
Cookie: pritty=prutty
It is only 1 html source.
Thanks
czinkos
On Tue, Jan 08, 2002 at 10:07:18AM -0600, Stathy G. Touloumis wrote:
At 2:40 PM +0100 1/8/02, Zsolt Czinkos wrote:
---
Here's my simple script:
package SetMyCookies;
use Apache;
use Apache::Constants;
use Apache::Cookie();
Very important to use strict when writing anything in mod_perl.
sub handler {
my $r = shift;
$c = $r-header_in(Cookie);
$c
When I put a PerlAccessHandler inside a LimitExcept, it does not seem to
work within the LimitExcept. It behaves as if there was no LimitExcept.
For instance, I wrote a simple access handler for webdav that only allows
users into their own directories. So user joe can only get to
I have a form to send to a content handler and wish to use the HTML tag:
SELECT name=multi_list multiple size=4
OPTION value=1One/OPTION
OPTION value=2Two/OPTION
OPTION value=3Three/OPTION
OPTION value=4Four/OPTION
OPTION value=5Five/OPTION
OPTION
Hi!
On Wed, Dec 12, 2001 at 01:44:52PM -0500, darren chamberlain wrote:
I didn't even think of that; if Apache is not installed, having
URI2Param.pm in site_perl/Apache doesn't matter. Therefore, I
would like to resubmit option 5:
5) Include Apache::URI2Param with the CGI::URI2Param
El Capitan [EMAIL PROTECTED] writes:
use Apache::Requst;
sub handler() {
my $r = Apache::Request-new(shift);
my @list = $r-param('multi_list') || undef;
^^
scalar context is ruining your day :(
Try this instead:
my @list =
Message -
From: Robert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 13, 2001 11:38 AM
Subject: Apache::Scoreboard question
Hi,
can Apache::Scoreboard be extended that with last request per child it
would also return the corresponding virtual host name? I would
Thomas Klausner [EMAIL PROTECTED] said something to this effect on 12/11/2001:
I've got a small CPAN Namespace Question:
Some time ago I wrote CGI::URI2param (
http://search.cpan.org/search?mode=modulequery=URI2param
).
Now, thanks to an idea by darren chamberlain, I wrote a small
darren chamberlain [EMAIL PROTECTED] wrote:
5) Include Apache::URI2Param with the CGI::URI2Param module
that gets installed along with CGI::URI2Param if Apache.pm is
installed, where Apache::URI2Param calls
CGI::URI2Param::uri2param.
That'd be the way I would go, although
James G Smith [EMAIL PROTECTED] said something to this effect on 12/12/2001:
darren chamberlain [EMAIL PROTECTED] wrote:
5) Include Apache::URI2Param with the CGI::URI2Param module
that gets installed along with CGI::URI2Param if Apache.pm is
installed, where Apache::URI2Param
Hi,
can Apache::Scoreboard be extended that with last request per child it
would also return the corresponding virtual host name? I would be
usefull for Apache::VMonitor. Thanks.
- Robert
Hi!
I've got a small CPAN Namespace Question:
Some time ago I wrote CGI::URI2param (
http://search.cpan.org/search?mode=modulequery=URI2param
).
Now, thanks to an idea by darren chamberlain, I wrote a small
PerlInitHandler that does nothing more than parse some PerlSetVars and then
call
I am getting these error messages when I restart apache on a new mod perl
install.
Starting httpd: Subroutine export redefined at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/Constants.pm line 35.
Subroutine name redefined at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/Constants.pm line
Unfortunatly, I find myself with a silly newbie question:
I need to make an Apache module (not a Registry script) which will:
1. Check for a cookie, and if not there, pushhandler to a module for
logging in (keeping the original request at hand for use after they
succeed in logging in).
2
On Tue, 13 Nov 2001 04:28, you wrote:
I need to make an Apache module (not a Registry script) which will:
1. Check for a cookie, and if not there, pushhandler to a module for
logging in (keeping the original request at hand for use after they
succeed in logging in).
2. Extract data from the
Hello,
I am a rookie in this, so I am probably asking trivial things here.
My current environment is:
Windows NT 4.0 SP 5,
Apache 1.3.9
Active state perl 522
I have written a perl monitor which writes simple static html pages having
the format
html
pre
multiple ascii lines (output
EaOn 19 Oct 2001, Xavier Merlin wrote:
I would like to make those pages dynamic
Maybe modperl can help. What do I need ?
The Eagle Book:
Writing Apache Modules with Perl and C, ISBN 1-56592-567-X,
by Lincoln Stein and Doug MacEachern.
It is available from O'Reilley
Hello,
I am completely new to the issue. My question is probably very
straightforward but maybe you can help me out.
I have made a monitor in perl which periodically overwrites static pages
containing the output of various commands.
The html pages are consisting of:
html
pre
multiple ascii
Perrin Harkins wrote:
001c01c156c1$d5d0eac0$553dfea9@charlotte">
Unfortunately, I've now noticed that my server is unbearably slow -setting 'ThreadsPerChild 1' in my httpd.conf made my server slow to asnails pace (and it really is a pretty quick server on a T1 linededicated to it,
By making 'ThreadsPerChild 1' - the entire server runs as a single
thread, mod_perl and any other requests (e.g. images) that come in -
this is why the server slows to a snails pace. I've set up two
instances now, one to handle all incoming requests, the other to serve
as a backend proxy
Perrin Harkins wrote:
006101c1571b$7930a850$18020c0a@PerriHar">
By making 'ThreadsPerChild 1' - the entire server runs as a singlethread, mod_perl and any other requests (e.g. images) that come in -this is why the server slows to a snails pace. I've set up twoinstances now, one to
I have a perl script that was running fine under IIS/5.0 with
ActivePerl 6xx - I'll put the salient parts here:
use IO::Socket;
use CGI;
$in = new CGI;
$server = IO::Socket::INET-new( PeerAddr= ...,PeerPort=
...,Proto=tcp,Type= SOCK_STREAM) or die Error message ... $@;
What is the difference between doing the following:
close( $server );
#
$server-close();
#
$server-shutdown();
??
Sincerely,
Brice Ruth
Brice D Ruth wrote:
I have a perl script that was running fine under IIS/5.0 with
ActivePerl 6xx - I'll put the salient parts here:
use IO::Socket;
Brice D Ruth wrote:
What is the difference between doing the following:
close( $server );
functional interface. flush and close the file handle for this instance
of the program.
#
$server-close();
object interface - same as above.
#
$server-shutdown();
object interface. cause
Why OT? I have a script that works under IIS/5 using CGI Perl that doesn't
work under Apache with mod_perl - I'd say that's on-topic for this list!
-Brice
___cliff rayman___ wrote:
[EMAIL PROTECTED]">
Brice D Ruth wrote:
What is the difference between doing the following:close(
hi brice,
because this particular question is one of basic perl,
and not mod_perl. this just alerts all mod_perl readers
that they can safely skip this particular question/answer
and not miss any relevant mod_perl content.
u sound upset - no reason to be - u got the answer u were
looking
It *seems* that the script can run once, but
that the next time it is accessed, it cannot connect to the $server
anylonger, it dies with a 'connection timed out' message ... What
'gotcha' is causing this?
It sounds like this problem:
Yeah, I thought about that earlier today ... I did that and the script is
still crappin' out ... basically, the first time through, it works. The
next time, it doesn't seem to be able to build the connection, but it doesn't
'die' at that line, either.
I'll go check out the links you sent me
Perrin Harkins wrote:
00a601c1568c$224f0a20$18020c0a@PerriHar">
It *seems* that the script can run once, butthat the next time it is accessed, it cannot connect to the $serveranylonger, it dies with a 'connection timed out' message ... What'gotcha' is causing this?
It sounds
Brice D Ruth wrote:
[EMAIL PROTECTED]">
Perrin Harkins wrote:
00a601c1568c$224f0a20$18020c0a@PerriHar">
It *seems* that the script can run once, butthat the next time it is accessed, it cannot connect to the $serveranylonger, it dies with a 'connection timed out' message
Unfortunately, I've now noticed that my server is unbearably slow -
setting 'ThreadsPerChild 1' in my httpd.conf made my server slow to a
snails pace (and it really is a pretty quick server on a T1 line
dedicated to it, pretty much).
That's odd. On Win32, mod_perl runs as a single blocking
Ed Loehr wrote:
Robin Berjon wrote:
On Saturday 01 September 2001 08:02, Ed Loehr wrote:
There's also a note (in AxKit 1.4 change log, I think) that says that
problem is fixed in 1.4. Also, from 'perldoc AxKit':
If you have a recent mod_perl and use mod_perl's
Makefile.PL
On Mon, 3 Sep 2001, Ed Loehr wrote:
Robin Berjon wrote:
Have you tried without SSL ? It sometimes conflicts with other modules.
Another search track would be to find out which module that AxKit pulls in
causes the crash (if any). You could also try out the 1.5 RC (which must be
called
Robin Berjon wrote:
On Saturday 01 September 2001 08:02, Ed Loehr wrote:
There's also a note (in AxKit 1.4 change log, I think) that says that
problem is fixed in 1.4. Also, from 'perldoc AxKit':
If you have a recent mod_perl and use mod_perl's
Makefile.PL DO_HTTPD=1
On Saturday 01 September 2001 08:02, Ed Loehr wrote:
There's also a note (in AxKit 1.4 change log, I think) that says that
problem is fixed in 1.4. Also, from 'perldoc AxKit':
If you have a recent mod_perl and use mod_perl's
Makefile.PL DO_HTTPD=1 to compile Apache for you,
Ed Loehr wrote:
I'm attempting to install AxKit 1.4 (and 10 or so other pre-requisite
modules) on my modperl/modssl server, and I'm trying to get the
ultra-basic AxKit manpage example to work ('perldoc AxKit').
The first sign of trouble has arisen: httpd silently exits immediately
after
Hi All,
I'm attempting to install AxKit 1.4 (and 10 or so other pre-requisite
modules) on my modperl/modssl server, and I'm trying to get the
ultra-basic AxKit manpage example to work ('perldoc AxKit').
The first sign of trouble has arisen: httpd silently exits immediately
after startup once
On Fri, 31 Aug 2001, Ed Loehr wrote:
More data: there is no core file created, and the mere presence of this
one line in my httpd.conf ...
PerlModule AxKit
...with no other AxKit directives anywhere, causes httpd to exit shortly
( 1 sec) after starting. I hacked AxKit.pm to verify
Randy Kobes wrote:
On Fri, 31 Aug 2001, Ed Loehr wrote:
More data: there is no core file created, and the mere presence of this
one line in my httpd.conf ...
PerlModule AxKit
...with no other AxKit directives anywhere, causes httpd to exit shortly
( 1 sec) after
On Wed, 29 Aug 2001, Mathew Benson wrote:
Hi,
I know you helped me before, but I had to rebuild my server and now I'm
having the same problem as before. I changed my ServerName directive to the
correct IP address (I don't have a DNS name). These are the only other
changes I made to
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 2:25 PM
To: [EMAIL PROTECTED]
Subject: Authen question
Hello
I want to know if there is a way to show a page or another to
some users
depending in their logins.
I have
Hello
I want to know if there is a way to show a page or another to some users
depending in their logins.
I have two users poiting to the same URL. But I dont want userA to see page
B, and I dont want userB to see pageA.
Thanks a lot
Gustavo A. Lozano
I know not with
UNSUBSCRIBE
I sincerely appologize if this question is in the wrong mailing list. But
I'm not really sure where it belongs.
I installed Demarc and Snort. Demarc is a Perl script, which does work
when executed from the console. But when hit from the web, it just returns
the source code. How do I
On Sun, 26 Aug 2001, Mathew Benson wrote:
Hi,
I sincerely appologize if this question is in the wrong mailing list. But
I'm not really sure where it belongs.
I installed Demarc and Snort. Demarc is a Perl script, which does work
when executed from the console. But when hit from
Hi there,
On Sun, 26 Aug 2001, Remco Schaar wrote:
On Sun, 26 Aug 2001, Mathew Benson wrote:
I sincerely appologize if this question is in the wrong mailing list.
But I'm not really sure where it belongs.
I installed Demarc and Snort. [snip]
You probably misconfigured. What
On Sun, 26 Aug 2001, Ged Haywood wrote:
Hi there,
hi,
On Sun, 26 Aug 2001, Remco Schaar wrote:
On Sun, 26 Aug 2001, Mathew Benson wrote:
I sincerely appologize if this question is in the wrong mailing list.
But I'm not really sure where it belongs.
I installed Demarc
On Fri, Aug 10, 2001 at 12:22:43AM +0300, raptor wrote:
thanx,
Yes I see ... but I was interested WHY when we are in nested subroutines ...
the inner-one will see the lexical var only the first time !! I mean the
Note that there are _no_ nested subroutines in Perl. You may declare
one inside
Note that there are _no_ nested subroutines in Perl ..So what you
basicaly have are two global subroutines with
local values. You get the closure for the first invocation. But it's
not the same variable anymore.
]- Now understand thanx alot
=
iVAN
[EMAIL PROTECTED]
=
hi,
I have the following situation ... it is not big issue but i'm interested
why this happen .. so here is it :
my $ID = 555;
print $ID;
sub blah {
..
{
local $$dbh{AutoCommit} = 0;
eval {
local $$dbh{RaiseError} = 1;
$ID = selectrow
Hello,
rI have the following situation... it is not big issue but
ri'm interested why this happen...
r
rmy $ID = 555;
rsub blah {
r...
r$ID = selectrow query;
r...
r}
This is, in fact, a big issue. You should see a message in your error log
shared variable
On Thu, Aug 09, 2001 at 01:36:28PM -0700, Andrew Ho wrote:
Hello,
rI have the following situation... it is not big issue but
ri'm interested why this happen...
r
rmy $ID = 555;
rsub blah {
r...
r$ID = selectrow query;
r...
r}
This is, in fact, a
thanx,
Yes I see ... but I was interested WHY when we are in nested subroutines ...
the inner-one will see the lexical var only the first time !! I mean the
REASON of this perl behaviour ! It it closer/easier to think of it that
my-vars are visible all the time in their inner scopes (except if u
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
didn't thought of that :)), but what will broke if the var is
copied/aliased every time not just the first time ...
I mean the call to closure make a new instance of the sub() every time
isn't it ?!?
! I see the closures get bound every-time , but non closures only the
first time !
But
On Fri, Aug 10, 2001 at 01:08:12AM +0300, raptor wrote:
didn't thought of that :)), but what will broke if the var is
copied/aliased every time not just the first time ...
I mean the call to closure make a new instance of the sub() every time
isn't it ?!?
! I see the closures get
On Thu, 9 Aug 2001, Perrin Harkins wrote:
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.
oh even here:
First, thanks to all the great suggestions, it looks like it works fine.
However, now my logs are loaded with a ton of subroutine redefined warnings
(which is normal I suppose?). I can certainly live with this in a
development environment, but thought I would check to see if it is expected,
Of
Bryan Coon
Sent: Wednesday, August 01, 2001 9:36 AM
To: '[EMAIL PROTECTED]'
Subject: One more small Apache::Reload question
First, thanks to all the great suggestions, it looks like it works fine.
However, now my logs are loaded with a ton of subroutine redefined warnings
(which is normal I
However, now my logs are loaded with a ton of subroutine redefined
warnings
(which is normal I suppose?). I can certainly live with this in a
development environment, but thought I would check to see if it is
expected,
and if it can be turned off while still enabling Reload.
Well, first of
Sorry if this is in an FAQ somehere (googled for it, but no luck).
Does anyone know of a *good* guide to compiling/configuring/installing
Apache + mod_perl on a Windows NT system?
The impression I get from scouting newsgrops is that most people resort to
using a prebuild binary - so I figure it
operational in about an hour.
Yell if you have any questions, as I have done this twice on NT.
Scott
-Original Message-
From: Randy Kobes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 10:20 AM
To: Jason
Cc: [EMAIL PROTECTED]
Subject: Re: Newbie question
On Thu, 12 Jul 2001, Jason
Doug MacEachern [EMAIL PROTECTED] wrote:
On Tue, 3 Jul 2001, James G Smith wrote:
The current code I have uses %INC, but I wanted to write
something like the following:
sub use : immediate {
# do stuff here if logging
return CORE::use(@_);
}
you could just override
301 - 400 of 956 matches
Mail list logo