HTML::Template - a Perl module to use HTML Templates
CHANGES
1.8
- New Feature: global_vars option makes outer variables visible
inside loops.
- Bug Fix: Use File::Spec to construct pathnames. This means
that HTML::Template should now work on VMS and MacOS.
(Larry Moore)
- Bug Fix:
On Mon, Jun 26, 2000 at 01:26:59PM -0500, John Thielen wrote:
> Apache was compiled with gcc and mod_perl (apache_1.3.12/src/modules/perl)
> was compiled with cc.
>
> oslevel = AIX 4.3.2.0
As far as I understand it this will not work without major surgery on
the generated Makefiles. If you wan
On Mon, Jun 26, 2000 at 04:09:11PM -0500, John Marquart wrote:
> Can anyone direct me to information on what the symbols
> perl_cmd_perl_TAKE* and perl_cmd_perl_FLAG refer to?
These are symbols internal to the modperl module and are currently not
exported for use outside of that module. I have no
Slightly off topic, but the subject line reminds me. I tried building
Net::LDAP and perLDAP using Perl 5.6 and neither would build. The compile
could not resolve sv_undef and one other variable that slips my mind at the
moment. I downgraded to Perl 5.004_05 and everything build honky-dory.
I have a problem trying to install mod Perl:
The error is as follows
src/modules/perl
rm -f libperl.so
ld -b -L/usr/local/lib -o libperl.so mod_perl.lo perlxsi.lo
perl_config.lo perl_util.lo perlio.lo mod_perl_opmask.lo Apache.lo
Constants.lo ModuleConfig.lo Log.lo URI.lo Util.l
Can anyone direct me to information on what the symbols
perl_cmd_perl_TAKE* and perl_cmd_perl_FLAG refer to?
On an AIX 4.3 box, I have successfully installed mod_perl for apache (1.22
& 1.3.12 respectively). My installation was performed from the mod_perl
dir as "perl Makefile.PL EVERYTHING=1 US
Ooops, sorry, that was suppose to go someone, not the list.
Jeff Macdonald wrote:
>
> Paul,
> Below is an email I sent to the mod_perl list. It seems that the lastest
> version of mod_perl does indeed do this correctly. I was wondering since
> you have the latest mod_perl/apache/perl, could
Paul,
Below is an email I sent to the mod_perl list. It seems that the lastest
version of mod_perl does indeed do this correctly. I was wondering since
you have the latest mod_perl/apache/perl, could you try this out? If you
don't have time, that's ok, as I will be compiling all the latest stuff
t
We were seeing some servers spin out of control (allocating memory
slowly) in Apace::Constants::AUTOLOAD (which apparently has been
reported in the mailing list before).
The attached patch fixes the problems for us. Could someone who
understands what is going on here shed some light?
Jim
diff
Brian Leech wrote:
>
> Hi,
>
> I'm trying to set a cookie from within an ASP file, by printing the
> Set-Cookie header (I have CgiHeaders set to 1). If I follow this header
> with content, I get the following error:
>
> Modification of a read-only value attempted at
> /usr/lib/perl5/site_perl/
Hi,
I'm trying to set a cookie from within an ASP file, by printing the
Set-Cookie header (I have CgiHeaders set to 1). If I follow this header
with content, I get the following error:
Modification of a read-only value attempted at
/usr/lib/perl5/site_perl/5.005/Apache/ASP.pm line 2969. ,
/
Hi All
I'm converting a mod_perl module-based site to HTML::Mason and have a
question about passing arguments to a component.
my $penuser = $r->connection->user;
my $authzrc = $m->comp( 'authzREPSYS', data_aref=>\@data_refs,
hconnref=>\%hconn, penuser=>$penuser );
With this call I want the comp
I can't say that I understand what brought you to this (I had a hard time
understanding the problem you described in your first post - sorry).
see if http://marc.theaimsgroup.com/?l=apache-modperl&m=95677592829430&w=2
kinda sounds familiar - the end result was that code was being run that I
didn'
From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
> try $r->set_handlers(PerlAuthzHandler =>
> ['Tivoli::Apache::AuthzCache', \&OK]);
>
> and you should see what you expect...
>
> I know calling it that way isn't in the eagle book, but it works. I
> suppose, though, that we ought to stick to the o
> "Robert" == Robert Monical <[EMAIL PROTECTED]> writes:
Robert> Each screen has a defined list of possible actions. This
Robert> information is "hardcoded" into the entry logic for the
Robert> screen. When a screen is sent to the user, the possible
Robert> action is checke
> -Original Message-
> From: Christian Gilmore [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 26, 2000 2:52 PM
> To: 'Geoffrey Young'
> Cc: [EMAIL PROTECTED]
> Subject: RE: set_handlers() bug?
>
>
> > > $r->set_handlers(PerlAuthzHandler =>
> > > [\&Tivoli::Apache::AuthzCache, \&OK])
So I finally tracked down the real cause of the crash (someone was
scribbling past the end of a buffer as suspected, but my last "fix"
just fixed the caller, not the culprit).
Attached is a patch that fixes that, and also uses the whole buffer
it allocates from the pool instead of always only usi
> > $r->set_handlers(PerlAuthzHandler =>
> > [\&Tivoli::Apache::AuthzCache, \&OK]);
> > [Mon Jun 26 10:30:58 2000] [debug]
> > /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> > e.pm(140):
> > [client 146.84.34.143] handler: (Post) PerlAuthzHandler
> > CODE(0x4a3a00) next
> > in
> -Original Message-
> From: Christian Gilmore [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 26, 2000 11:40 AM
> To: 'Eric Cholet'
> Cc: 'Modperl Mailing List (E-mail)'
> Subject: RE: set_handlers() bug?
>
>
> So, I've done a bit more debugging. It looks like set_handlers is all
> bef
Hello, [EMAIL PROTECTED] told me to forward this mail to [EMAIL PROTECTED]
please read on... I will be re-compiling with a patch mod to
mod_include.c as suggested by [EMAIL PROTECTED] ...
Thanks in advance for a response. John Thielen
Apache was compiled with gcc and mod_perl (apache
> "is" == indrek siitan <[EMAIL PROTECTED]> writes:
is> is that normal behaviour, that if I have a defined
is> with DocumentRoot set to for example /www/hosts/www.foo.com, then
is> /www/hosts/.htaccess (what is above the DocumentRoot) will affect
is> the VirtualHost configuration?
yes it i
Hello,
I'm interested to know, does the DL_UNLOAD_ALL_AT_EXIT compilation flag
for Perl 5.6.0 affect mod_perl's behaviour in any way? 'man perldelta'
says that it might.
--
Stay tuned,
MhZmailto:[EMAIL PROTECTED]
---
If the master dies and the disci
Hi,
I know it's not a direct mod_perl question, but ..
is that normal behaviour, that if I have a defined
with DocumentRoot set to for example /www/hosts/www.foo.com, then
/www/hosts/.htaccess (what is above the DocumentRoot) will affect
the VirtualHost configuration?
Rgds,
Tfr
--==< [EMA
We are writing a specification for an Apache/modperl based data
entry/update system that will operate against an Oracle database.
I am a Perl/modperl novice.
This will be a lightly loaded Web Server (less then a dozen concurrent
"sessions", 100s of updates/hour).
Users will log in. I assume th
Hi,
Linux 2.2.14, Apache 1.3.12, Perl 5.6.0, mod_perl 1.24.
On the first request, I get a segfault after perl_handler_ismethod
is called.
#0 0x40280fdc in mod_perl_register_cleanup (r=0x92ba3fc, sv=0x1) at mod_perl.c:1242
#1 0x40280fb0 in perl_handler_ismethod (pclass=0x92ba3fc, sub=0x1 ) at
On Mon, 26 Jun 2000 08:20:13 -0700, Rodney Broom wrote:
>Hi Keith,
>
>It sounds to me like you're not getting alot of help on this one.
>Personally, I tend to agree with John the most. However, I find nothing
>intrinsically wrong with what you want to do. If you really ~need~ to lock a
>given dat
On Mon, 26 Jun 2000 08:20:13 -0700, Rodney Broom wrote:
>Hi Keith,
>
>It sounds to me like you're not getting alot of help on this one.
>Personally, I tend to agree with John the most. However, I find nothing
>intrinsically wrong with what you want to do. If you really ~need~ to lock a
>given dat
Hi John!
> 1. read data with no lock, put it on the users screen.
>
> 2. at some later date user hits ENTER.
>
> 3. read data with lock. If it is not the same as it was at (1) tell the
>user that you're sorry and someone else has changed the data.
>
> 4. if the data was the same rewrite i
So, I've done a bit more debugging. It looks like set_handlers is all
befuddled. I have the below code:
my $handlers = $r->get_handlers('PerlAuthzHandler');
foreach (@$handlers) {
$r->log->debug("handler: (Pre) PerlAuthzHandler $_ next in line");
}
# Per Eric Cholet
# $r->set_handle
According to Kenneth Lee:
>
> Not performance. Not preference.
>
> The question is, will mod_fastcgi and mod_perl conflict when both are
> compiled into Apache? Theoretically not I think. And what would the
> consequences be? Please comment.
I can't see any reason why they should conflict, bu
Hi Keith,
It sounds to me like you're not getting alot of help on this one.
Personally, I tend to agree with John the most. However, I find nothing
intrinsically wrong with what you want to do. If you really ~need~ to lock a
given data set against modification, then there are about a kagillion wa
--- Ged Haywood <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> On Mon, 19 Jun 2000, Paul wrote:
>
> > I'm running out of ideas.
> >
> > PerlFreshRestart was completely unused, then explicitly set Off.
> > I have two handlers, which seem to work well. My logs report
> > nothing amiss aside from the
Quick addition, though. The DirectoryIndex'ed pages were found when I
switched to [\&OK] from undef, but as the benefit of the cache is lost, this
is not a solution...
Regards,
Christian
> -Original Message-
> From: Christian Gilmore [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 26, 20
From: Eric Cholet [mailto:[EMAIL PROTECTED]]
> can you try
>
> $r->set_handlers(PerlAuthzHandler => [\&OK]);
Eric,
I just tried this on your suggestion. The downstream authz handlers get
called in this scenario, so the cache becomes useless. Here's the debug log
output:
[Mon Jun 26 09:15:15
> -Original Message-
> From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 23, 2000 1:24 PM
> To: '[EMAIL PROTECTED]'
> Subject: is PerlAddVar working?
>
>
> hi all...
>
> I've been trying all morning to access PerlAddVar variables as
> expected (see
> http://ma
Keith,
On Mon, 26 Jun 2000, you wrote:
> Hello,
>
> In a CGI type of web environment, user "A" wants to update a certain row of
> data, so he fetches it for display in his browser. User "B" fetches the same
> data shortly after user "A" fetches the data (but before user "A" updates).
> User "A" u
> I've found some odd behavior that I've narrowed to a set_handlers call. I've
> written an authz cache. On requests with cache misses, the system functions
> as one would expect. Once there's a cache hit, the values of DirectoryIndex
> are somehow flushed or ignored. Here's the important snippet
(explanation of the double update problem)
> What should happen is something like ===> user "A" does a "select for
> update", and then when user "B" goes to fetch the data he is informed that
> the data is locked. But to do this you need to keep the session (whether
> apache:session or not) bound
Keith Kwiatek wrote:
>
> Hello,
>
> In a CGI type of web environment, user "A" wants to update a certain row of
> data, so he fetches it for display in his browser. User "B" fetches the same
> data shortly after user "A" fetches the data (but before user "A" updates).
> User "A" updates. Then us
This mail was not supposed to go to this mailing list, please ignore it..
My sincere appologies..
Geoff
This one time, at band camp, Geoffrey Gallaway wrote:
> PATH is the Perl Advanced Techniques Handbook, by Mark Dominus. It
> will probably be published in early 2001 by Morgan Ka
Hello,
In a CGI type of web environment, user "A" wants to update a certain row of
data, so he fetches it for display in his browser. User "B" fetches the same
data shortly after user "A" fetches the data (but before user "A" updates).
User "A" updates. Then user "B" updates, resulting in user "B
Hi,
Yandex engine also can highlight words and can be customized the
way you want. But I think you are right and the guide does not
need so complex and powerfull engine.
Vlad.
> -Original Message-
> From: Stas Bekman [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 23, 2000 1:29 PM
> To:
Ok, thank you for the detailed recommendation. I try to step the way you
wrote.
Vlad.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
> Sent: Friday, June 23, 2000 6:09 PM
> To: Vladislav Safronov
> Cc: [EMAIL PROTECTED]
> Subjec
Ok !
> -Original Message-
> From: Stas Bekman [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 23, 2000 2:02 PM
> To: Vladislav Safronov
> Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Subject: RE: Highly optimized mod_perl ?
>
>
> > Hi, ( ili privet )
> >
> > I was looking any tips an
Stas Bekman <[EMAIL PROTECTED]> writes:
> > Stas Bekman <[EMAIL PROTECTED]> writes:
> >
> >
> > > I think it doesn't matter whether it's a script or a module.
> >
> > So if startup.pl contains:
> >
> > use CGI ;
> > use DBI ;
> > use My::Application ;
> >
> > Then there's no gain?
>
> Of
"Kenneth Lee" <[EMAIL PROTECTED]> writes:
> Hi there,
>
> Not performance. Not preference.
>
> The question is, will mod_fastcgi and mod_perl conflict when both are
> compiled into Apache? Theoretically not I think. And what would the
> consequences be? Please comment.
As long as you keep t
> But I run apache I get:
> utechnology# ./apachectl start
> defined(@array) is deprecated at
> /usr/local/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 135.
> (Maybe you should just omit the defined()?)
> ./apachectl start: httpd started
Perl 5.6.0 has introduced a new warning when it see
FreeBSD-3.4stable, apache-1.3.12+mod_perl
I use in startup file:
use Apache::DBI ();
But I run apache I get:
utechnology# ./apachectl start
defined(@array) is deprecated at
/usr/local/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 135.
(Maybe you should just omit the defined()?)
./apachectl
Hi again,
On Sun, 25 Jun 2000, My Alias wrote:
> I really am not sure what I've got (mod_perl
> or Apache::Registry). :)
Looking at what you have below, anything from is
configured to be served by mod_perl which in turn calls a Perl handler
in Apache::Registry (.../Apache/Registry.pm) which i
Keith,
I'm not really sure you want to do that with Oracle..., I mean maybe there's a
situation where that makes sense, but I can't think of one just yet. A db
connection is a _signficant_ resource hog.., (this goes 100x for oracle), and
to be handing these out like candy to your users seems over
50 matches
Mail list logo