Franck PORCHER wrote:
But for is a lot easier to read and debug, IMHO Is there a
significant performance difference in using map instead?
My experience is that in most cases, the for construct is used
to apply the same treatment to all the elements of an array,
whence the map
Hi there,
On Fri, 1 Nov 2002, Frank Naude (FJ) wrote:
Sorry if this is a FAQ,
So read the docs already! :)
but, is there any mod_cgi to mod_perl converter available?
Have a look at Apache::Registry.
73,
Ged.
Hi there,
On 1 Nov 2002, Clinton Gormley wrote:
I'm struggling to get anything much working with mod_perl 2.
[snip]
I have read all of the documentation on perl.apache.org.
Are you sure? :)
If these things should be working,
Well it does say on the home page that it's the Bleeding Edge.
I have an XML doc that I generated using XML::LibXML that needs to be
included as a hidden form field in a form post.
The problem is that the browser is encoding the XML doc.
ie.
?xml version=1.0 encoding=UTF-8?
!DOCTYPE gtfd SYSTEM http://gftd/schemas/data.dtd;
turns into:
lt;?xml
On Fri, Nov 01, 2002 at 03:10:54AM -0500, Perrin Harkins wrote:
There is a time and place for map: when you want to do something
to each element in an array and return the array on the other side.
Otherwise, use for, like this: some_function($_) for array;.
Even when map is not incorrect, I
Rob Nagler wrote:
Another approach which allows easy sharing between projects is:
~/src/perl/
+ Project1/
+ Project2/
+ Project3/
where Project[123] are root package names. Set PERLLIB=~/src/perl and
you can get access to any *.pm in the system, each has a globally
unique name.
On Wed, 2002-10-30 at 17:09, John Saylor wrote:
Hi
( 02.10.30 03:22 -0500 ) Perrin Harkins:
They didn't make their decision on performance though. They seem to
have been most influenced by the idea that perl allows too much
flexibility in coding style, although I can't see how PHP is
Clinton Gormley wrote:
I'm struggling to get anything much working with mod_perl 2.
I have installed mod_perl 1.99_07 with Apache 2.0.43. I have read all of
the documentation on perl.apache.org.
I can get a basic page returned to me with a modperl handler, but as
soon as I try to do anything
Hi Dom --
How do you cope with the problem that perl has of running different
versions of modules?
We have a similiar situation, in that we're running several projects
with different sets of perl libraries. We have common code between
them. The trouble starts when we're running several
Hi
( 02.10.31 21:57 -0800 ) Nick Tonkin:
I'm excited to get them going in perl, and I want to appeal to the list
for donations of books on learning perl.
I'd say the best 'books' are all on line. Don't underestimate the
[lowly] man pages. Or perldoc [-f].
And there are stories and tutorials
At 8:27 AM -0500 11/1/02, Jesse Erlbaum wrote:
Hi Dom --
How do you cope with the problem that perl has of running different
versions of modules?
We have a similiar situation, in that we're running several projects
with different sets of perl libraries. We have common code between
them.
Hi Ray --
Jesse are you saying that you have a single apache server running
multiple vhosts with different versions of the same module loaded for
different vhosts? Is that actually possible?
I thought that whenever you first require ModuleX it will use the
value of PERL5LIB in that context
The URL
http://www.modperlcookbook.org/~geoff/modules/experimental/Apache-Clean-2.00b.tar.gz
has entered CPAN as
file: $CPAN/authors/id/G/GE/GEOFF/Apache-Clean-2.00b.tar.gz
size: 4725 bytes
md5: a25497718555ef6567bdd38685a6b940
it's still incomplete, but it should be educational at
Thats what is wierd. I don't do any escaping. I think it might be embperl
doing the escaping because if I do a print of the XML doc string it has no
escaping. If I put the string between [+ $content +] then it gets escaped.
Thanks for your help,
Chris
- Original Message -
From: Antti
Me too. (and sorry to for a couple of private replies its early and I haven't had much
caffeine this morning).
-Original Message-
From: Ryan Parr [mailto:ryanparr;precisiontechonline.com]
Sent: Friday, November 01, 2002 12:57 AM
To: Nick Tonkin; [EMAIL PROTECTED]
Subject: Re: [OT]
Amen.
http://www.comp.leeds.ac.uk/Perl/start.html
http://archive.ncsa.uiuc.edu/General/Training/PerlIntro/
http://www.ebb.org/PickingUpPerl/
http://www.cclabs.missouri.edu/things/instruction/perl/perlcourse.html
http://www.lanka.pair.com/techweb/perl/tutor/
oh wait... did you say spanish?
Dominic Mitchell writes:
How do you cope with the problem that perl has of running different
versions of modules?
Actually, we have two problems. One problem is developing with
multiple versions and the other is what you mention, running
production systems.
Sometimes I might be in the middle
Hey Rob --
Oh, and we *never* (almost :-) put code in programs. The programs
invoke a *.pm file's main so we can say bla-some-command and always
get the right version.
This is how CGI::Application works, too. You might want to check it out!
For the benefit of those who are not yet putting
Hi,
well I have read all (whatever scanty little
available) docs on mod_perl 2 and am pretty
disappointed.
For example Apache::Request is not ready yet so you
need Apache::compat and mod_perl 1 for basic POST
request handling and parsing.
In my opinion, stay with mod_perl 1.
-Sumitro Chowdhury.
I would guess that these kids do not have access to computers outside school. Which
makes access to printed material advantageous. I guess a printer would be nice, but
by the time the cost of it, paper, ink, and other supplies are factored in, I would
guess that books would be cheaper.
On Fri, 1 Nov 2002, Sumitro Chowdhury wrote:
Hi,
well I have read all (whatever scanty little
available) docs on mod_perl 2 and am pretty
disappointed.
Additions, I'm sure, are welcome :)
For example Apache::Request is not ready yet so you
need Apache::compat and mod_perl 1 for basic POST
--- Randy Kobes [EMAIL PROTECTED] wrote:
On Fri, 1 Nov 2002, Sumitro Chowdhury wrote:
Hi,
well I have read all (whatever scanty little
available) docs on mod_perl 2 and am pretty
disappointed.
Additions, I'm sure, are welcome :)
For example Apache::Request is not ready yet so
Ged Haywood wrote:
Hi all,
On Thu, 31 Oct 2002, Iain 'Spoon' Truskett wrote:
experimenting with perforce [which, so far, appears nicer than CVS] )
Yikes! Josh, you got anything to say about that?
Well I have used perforce much more than CVS now, so that is where
I'm most comfortable.
On Fri, 1 Nov 2002, Sumitro Chowdhury wrote:
H
I thought POST request handling needs
$r-read($buf,$r-headers_in-{'Content-length'})
and GET request handling needs
$r-args();
Sorry about that - I should have read more carefully that
you were specifically referring to POSTed data -
Oh, CVS is free which is always a good thing. :)
subversion (http://subversion.tigris.org/) has been gaining lots of
momentum lately, and I just saw this link today:
http://svnbook.red-bean.com/
some of you might know the folks at red-bean from their other
projects, like
Tony Bowden wrote:
It sounds like you're saying that you should only use a subset of Perl
as some programmers may not understand the other parts of it?
That is what I'm saying. I'm aware that this is a controversial opinion
in the Perl world. However, I think it's reasonable to know your
Hi
( 02.11.01 13:42 -0500 ) Perrin Harkins:
It's not that map is so evil, but rather that I have often seen people
overuse it (especially after a first-reading of Effective Perl), and
write confusing code with it by jamming too much into the map { some
stuff } @list form.
As a former map
Thats what is wierd. I don't do any escaping. I think it might be
embperl
doing the escaping because if I do a print of the XML doc string it has no
escaping. If I put the string between [+ $content +] then it gets
escaped.
Yes, Embperl escapes your output per default, you can turn it
I've mod_perl running on several machines (apache 1.x) Today I
installed a new system with apache2 and ran into deep troubles and
questions:
I installed perl-5.8.0, apache 2.0.43 and mod_perl 1.99_07
I preload Apache2 and use ModPerl::Registry:
LoadModule perl_module modules/mod_perl.so
Ged Haywood wrote:
On Fri, 1 Nov 2002, Frank Naude (FJ) wrote:
but, is there any mod_cgi to mod_perl converter available?
Have a look at Apache::Registry.
And to address the specific problem you mentioned about initializaing
variables, look at Apache::PerlRun.
- Perrin
--- [EMAIL PROTECTED] wrote:
I've mod_perl running on several machines (apache
1.x) Today I
installed a new system with apache2 and ran into
deep troubles and
questions:
I installed perl-5.8.0, apache 2.0.43 and mod_perl
1.99_07
snip
If I use the Compat-mode the problem vanishes.
--- Randy Kobes [EMAIL PROTECTED] wrote:
my %args = $r-Apache::args;
is for GET requests. For POST, as is described in
the
content() method of Apache::compat, for now one can
use
$r-setup_client_block;
# return an error unless $r-should_client_block;
my $len =
Does this include an AddRotator?
john welte
My apologies if this is a FAQ, I haven't been able to figure it out
can't find the answer online anywhere.
I have a fairly extensive script I've written to display tables of
information about equipment for an online game. For some reason the
script is hanging at at least two points:
At one
I installed a new intranet server a few days ago. My development server is on
Windows2000 (notebook) and production is Linux (server). Everything works fine on my
notebook but I have problems on my server.
Sometimes there is an message ORACLE_HOME environment variable not set! in my error
log
On Fri, 2002-11-01 at 17:54, [EMAIL PROTECTED] wrote:
First, make sure you have the latest version of CGI.pm from CPAN. It has
fixes in there to automatically load Apache::Compat for you. Also CGI.pm
isn't fully mod_perl2 compatable. so there is that over head
unfortunally. Right now for me, I'll
36 matches
Mail list logo