=> '-rdynamic -L/usr/local/lib
/usr/local/lib/perl5/5.8.3/i686-linux/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.8.3/i686-linux/CORE -lperl -lnsl -ldl -lm -lcrypt
-lutil -lc',
'MODPERL_CP' => 'cp',
'file_makefile
On Sunday 31 October 2004 22:18, Stas Bekman wrote:
> Steven, can you please tell me where did you see the suggestion to post
> here the script t/REPORT and not the output of its execution? If it wasn't
> clear in the help document, please suggest how to improve the wording.
Whoops,
Hello, and thanks in advance for your patience as I ask how to do
something rudimentary, but I seem to be rather dense and a week up to
my eyeballs in documentation has left me no closer than when I began.
My problem is that I'm trying to pick up mod_perl2 without ever having
used mod_perl befo
Thanks Chuck, Glenn, and Stas!
On Jun 16, 2004, at 6:53 PM, Goehring, Chuck Mr., RCI - San Diego wrote:
If you were not using mod_perl 1.x in your old cgi programs, you
probably don't need to be using any of the request stuff.
ModPerl::Registry does all the voodoo for you for ordinary cgi
progr
On Jun 17, 2004, at 9:25 PM, Sam Tregar wrote:
On Wed, 16 Jun 2004, Steven Scotten wrote:
My problem is that I'm trying to pick up mod_perl2 without ever having
used mod_perl before.
I agree. I think you should back up a step and get comfortable with
mod_perl 1. Unless you're doing thi
-- Carlo Pecchia <[EMAIL PROTECTED]>
Hi all,
I apologize for the OT...
Can anyone suggest some development support tool
(something over the classical CVS, or AEGIS, etc.)
well utilizaed with mod_perl (and derivative like
HTML::Mason) ??
subversion.
--
Steven L
lse about their internal workings) but our language
does the deed on Wall Street.
The perl advocacy group's 'success stores' page has quite a
few more.
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodha
ss the stuff being tarballed is already squished (e.g.,
.gz files or jpeg) you can gzip the output on the fly,
at which point the archive and filesystem overhead will
get balanced by any squish factor.
--
Steven Lembark 85-09 90th Street
Workhorse Com
there ARE people
who do look through the source for them than trusting
most proprietary development efforts. At least with OSS
(e.g., apache, mod_perl) any problems will be publically
reported and tend to get dealt with.
--
Steven Lembark 85-09 90th Stree
the query or
build some incremental data structures using row-by-row
iteration instead of fetchall_arrayref.
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodhaven, NY 11421
[EMAIL PROTECTED
portable (on *NIX at
least).
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodhaven, NY 11421
[EMAIL PROTECTED] 1 888 359 3508
tion for the
proc's, Does it grow if you use the hash? If so then the O/S is
sharing the hash until its written.
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodhaven, NY 11421
[EMAIL PROTECTED] 1 888 359 3508
ng a limit based on
sum(virtual - shared) + shared will usually work; it
just leaves the amount of acceptable swap use up to
the user. That use sum(RSS) as the cutoff, leaving
a fudge factor for shared (which tends to be fairly
consistent) and acceptable swap use.
--
Steven Lembark
asking yourself how the thing
really works and what sort of methods are useful (vs. just
using Class::Foo on a hash to generate accessors by key).
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodhaven, NY 11421
[EMAIL PR
ut needing to use Apache::Reload or
other avoidable overhead.
<http://search.cpan.org/~ams/Storable-2.15/Storable.pm>
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodhaven, NY 11421
[EMAIL PROTECTED] 1 888 359 3508
ween platforms.
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodhaven, NY 11421
[EMAIL PROTECTED] 1 888 359 3508
> My gripe with Storable is that it is not possible to access into the
Break the structure into smaller pieces (e.g., a heavily
nested hash into separate values) and store them individually.
This works nicely with a database backend using blobs to
manage access to the frozen data.
--
Ste
issue: NFS does not handle
locking well at all.
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodhaven, NY 11421
[EMAIL PROTECTED] 1 888 359 3508
nal
blocks at the top levels. The Test::* modules
support both styles of coding well, which allows
for complete coverage.
Take a look at the Phalanx project's results for
a good overview on the wonderfulness of testing
in all its forms.
All of this applies to Perl in general,
-- Ron Savage <[EMAIL PROTECTED]>
Hi Folks
You can use FindBin and set it relative to your script's directory.
Is FindBin::Real a better choice?
FindBin::libs will locate the lib dir's based on your
path (using FindBin).
--
Steven Lembark
> Better yet, somebody please profer a solution? :-)
perldoc File::Basename;
perldoc File::Spec;
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodhaven, NY 11421
[EMAIL PROTEC
> this kind of question would best go to your local perl mongers chapter
Er... no. Unless the issue is splitting up a
path to the nearest beer, I'd suggest keeping
it out of ny.pm.org :-)
--
Steven Lembark 85-09 90th Street
Workhorse C
an attempt to fix this, but it is still using 5.8.3. Both
perl and mod_perl were made in directories that had never been used for
that before, and I make clean just in case anyways, so there should be
no pollution. Please help me get this working. Thanks in advance.
~Steven
Output from mp2bug
with the storage on the architecture
you are using (low- or high-endian) or you have
to force the bits into network order before making
the bitstring.
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodhaven, NY 11421
[EMAIL PROTECTED] 1 888 359 3508
been trying to find an answer for much of the day without
success. Any suggestions of how to track down this problem would be
appreciated.
Thank you and regards
Steven
Hello,
I want to implement a singleton pattern on my logger module. During
initial instantiation, the logger module is seeded with some
information (ie. transactionId) and creates some (ie. requestTime).
What I want is for the logger object to be instantiated (if needed)
and/or retrieved from the
Perfect! Great info from both...exactly what I needed. After
Torsten's response, I theorized that I could abstract that
functionality up and reveal a thin API for the creation/calling of
singleton objects within a namespace in pnotesbut that seems to
have already been done with Apache::Single
Hello,
I want to implement a singleton pattern on my logger module. During
initial instantiation, the logger module is seeded with some
information (ie. transactionId) and creates some (ie. requestTime).
What I want is for the logger object to be instantiated (if needed)
and/or retrieved from the
More memory but potentially faster, correct? Since we don't have to
spawn as many processes to accommodate a load? Although i don't use
worker MPM since the codebase I adopted is not thread safe, I would
investigate if it was an option. Memory is fairly cheap and, with my
web servers (without DB
I'm relatively new to mod_perl - moving to a new job who's application
is solely written in it. This is a return to Perl for me, having
worked in PHP, Java, and .NET since Perl 4. As I'm learning to love
mod_perl and Perl in general, perhaps it's a good time for me to
contribute back by writing p
It depends. (always the expected answer with an OOP design question =)
Generally, if the method you are calling on class A does not work
on/effect the state of a specific object, its a canidate to be a
static (class) method. However, you should be careful about coupling
your objects and understan
s an added bonus,
by containing the PurchaseItems within the cart you can easily provide
convience methods to iterate over the collection for things like
calculating the total weight, total price, etc.
Regards,
S
On Thu, Jan 29, 2009 at 2:11 PM, kropotkin wrote:
>
> Hi Steven
>
> The me
>
>
> This isn't quite informative. But objects also make it easier
>> to inter-relate a bunch of methods that you haven't necessarily
>> programmed yet without having to remember what arguments you
>> have to pass around from method to method, because you can get
>> them out of $self when you nee
Hi Mike,
The information you provided indicates that you have determined your
customer base for this application might not always have a dedicated IT
staff to conduct these installs. Your company has a couple options in
achieving this "last mile", which can be observed across the industry,
mod_pe
I would also add, in addition to the frameworks, the availability of tools
such as Netbeans and Eclipse IDE's are unmatched in the perl domain. These
IDE's provide many high-level conveniences for enterprise developers, most
notably in the realm of SOA (such as graphical building of BPEL and CEP).
> > Add to this Jeff's comment on the availability of high caliber perl
> > engineers...we are almost forced to make this decision.
>
> Maybe you aren't looking in the right places:
>
> http://jobs.perl.org
> YAPC::*
> This email list
> The Perl Mongers groups
>
> Dice, Craigslist, Monster, etc. ar
nice.
On a related note...some of our developers use the EPIC plugin in eclipse to
create/modify remote .pl and .pm files. Same issue (CR/LF) - we usually run
a clean.pl script recursively on directories on the dev server during
development/prior to generating a build. Needless to say, this gets
I will be =).
R/
Steve
On Tue, Oct 5, 2010 at 12:56 PM, Fred Moyer wrote:
> Anyone going to Apachecon in Atlanta this year?
>
> http://na.apachecon.com/c/acna2010/
>
$r is a Apache2::RequestRec instance.
On Wed, May 14, 2014 at 7:52 PM, Worik Stanton wrote:
> I am still trying to fathom the API.
>
> I have struck a snag with the documentation.
>
>
> https://perl.apache.org/docs/2.0/api/Apache2/Connection.html#Synopsis
> says
>
> use Apache2::Connection
p to the level of
Perl (vs. C) you are probably better off dealing with the work using
forks (at least on *NIX) in order to avoid all of the locking, memory,
and pool-manglement issues.
--
Steven Lembark 3646 Flora Pl
Workhorse Co
l do this on linux (env may be "/usr/bin/env" on BSD, Solaris).
One advantage is that this allows you to install a test version of
perl in, say, /opt/perl/5.24 then update your path to include that
directory for testing.
--
Steven Lembark 3646
from
twiggy to starman to apache when you are done.
--
Steven Lembark 3646 Flora Pl
Workhorse Computing St Louis, MO 63110
lemb...@wrkhors.com+1 888 359 3508
ew of your favorite
beverages a month to maintain and induces far less annoyance...
Enjoy
--
Steven Lembark3646 Flora Place
Workhorse ComputingSt. Louis, MO 63110
lemb...@wrkhors.com+1 888 359 3508
ake a look at the
servers listed on Plack's website.
--
Steven Lembark
Workhorse Computing
lemb...@wrkhors.com
+1 888 359 3508
helluva lot easier to install, manage, develop on, and maintain.
--
Steven Lembark
Workhorse Computing
lemb...@wrkhors.com
+1 888 359 3508
list - am I on the right track? wasting my
time? or just a simple mistake?
--
Steven Haigh
📧 net...@crc.id.au <mailto:net...@crc.id.au>
💻 https://www.crc.id.au <https://www.crc.id.au/>
reload or DBI sharing yet - as that'll end
up needing a bit of a rewrite of code to take advantage of. I'd be open
to suggestions here from those who have done it in the past to save me
going down some dead ends :D
--
Steven Haigh
📧 net...@crc.id.au <mailto:net...@crc.id.au>
💻 http
s in the apache config that still had
H=cgi-script - changed those to H=perl-script and saw similar
improvements:
ExecCGI - Requests per second:11.84 [#/sec] (mean)
mod_perl - Requests per second:130.97 [#/sec] (mean)
That's quite some gains for a days work.
--
ormal 'use strict; use warnings;' standards good enough?
Are there other ways to confirm correct operations?
--
Steven Haigh
📧 net...@crc.id.au <mailto:net...@crc.id.au>
💻 https://www.crc.id.au <https://www.crc.id.au/>
shipping
The joys of being on an island a long way from anything ;)
--
Steven Haigh
📧 net...@crc.id.au <mailto:net...@crc.id.au>
💻 https://www.crc.id.au <https://www.crc.id.au/>
On Thu, Jan 26, 2006 at 10:28:59AM -0600, Ryan Perry wrote:
> on FreeBSD 5.4 I get:
>
> # perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
> String found where operator expected at /usr/local/lib/perl5/5.8.6/
> mach/IO.pm line 11, near "XSLoader::load 'IO'"
> (Do you need to predeclar
Hi,
I'm having trouble integrating mod_perl with the latest (2.4) versions of
Apache - build fails as unable to locate APR directories
make[1]: Entering directory
`/usr/local/west/perl/mod_perl-2.0.8/src/modules/perl'
cc -I/usr/local/west/perl/mod_perl-2.0.8/src/modules/perl
-I/usr/local/west/
e configuration:
PerlSetEnv BASE /home/steven/foo/base
PerlPostConfigRequire /home/steven/foo/handler.pl
SetHandler perl-script
PerlHandler Ech::Mason
In the handler I've got this:
use Data::Dumper;
print Dumper(\%ENV);
With a apache2ctl start the output is:
$VAR1
handler {
my $r = shift;
...
my $site = $r->dir_config('mason_site') || '';
$ah{$site}->prepare_request($r$);
...
}
As you can see I want to use the ENV vars in the global scope. Is this
possible?
On Thu, 22 Jul 2010 20:55:26 -0400, Mike Diehn wrote:
> Steven
hat leaves me completely stuck - how can old data be returned - even
after a full machine reboot?
Am I missing something kinda obvious?
The system is Fedora 37 with the following versions:
mariadb-10.9.4-1
mod_perl-2.0.12-5
httpd-2.4.54-5
perl-DBD-MariaDB-1.22-3
perl-DBD-MySQL-4.050-15
On Fri, Jan 27 2023 at 09:50:42 +0800, demerphq
wrote:
On Fri, 27 Jan 2023, 09:43 Steven Haigh via modperl,
mailto:modperl@perl.apache.org>> wrote:
Hi all,
I'm a little confused about my little mod_perl web site at the
moment.
I'm doing an SQL query, then punting th
On Thu, Jan 26 2023 at 21:07:17 -0500, Perrin Harkins
wrote:
Maybe you haven't committed some manual change on the server, so it
isn't visible to other connections.
I thought about this - but surely, restarting *everything* (db + apache
+ entire VM) would cause this to fall out.
Also, w
On Fri, Jan 27 2023 at 10:41:02 +0800, demerphq
wrote:
On Fri, 27 Jan 2023, 10:35 Steven Haigh via modperl,
mailto:modperl@perl.apache.org>> wrote:
On Thu, Jan 26 2023 at 21:07:17 -0500, Perrin Harkins
mailto:phark...@gmail.com>> wrote:
Maybe you haven't committed some man
pen3(0, \*READER, 0, $cmd, @args);
while ( my $output = ) {
   print $output;
}
print "Speed test complete.";
waitpid $pid,0;
Does anyone have any clues as to why STDOUT would end up in the apache
log and not in the web page being served when using perl-script as the
handler?
--
Steven Haigh
📧 net...@crc.id.au
💻 https://crc.id.au
Handler ModPerl::Registry  or PerlHandler SomeLib::SomePAckage type
thing...
(this would be as well as the Set/AddHandler line)
Kind regards,
On Mon, May 13, 2024 at 7:54 AM Steven Haigh via modperl
mailto:modperl@perl.apache.org>> wrote:
Hi all,
I'm playing around with mo
:53 AM Steven Haigh via modperl
mailto:modperl@perl.apache.org>> wrote:
Hi all,
I'm playing around with mod_perl on apache on docker - and now I've
finally got all the module issues sorted, I'm trying to figure out why
when using mod_perl, the output of s
o stream the ouput
line after line, and not whatever terminal buffer is in place that will
return the output in a chunk.
However, all output from running the command ends up in the apache logs.
That means that never gets anything, and therefore the print is
never called.
Does that make more sense?
#AddHandler cgi-script .pl
AddHandler perl-script .pl
PerlResponseHandler ModPerl::Registry
Options Indexes FollowSymLinks ExecCGI
Require all granted
To test between the two options, I change the comment for AddHandler.
On 14/5/24 13:21, Joseph He wrote:
Steven, how do
On 14/5/24 14:18, Ed Sabol wrote:
On May 13, 2024, at 11:00 PM, Steven Haigh via modperl
wrote:
If I was to guess, it seems like an interaction with open3 and modperl.
https://perldoc.perl.org/IPC::Open3
Yes, this is a known problem with IPC::Open3 that is commonly seen with
mod_perl
64 matches
Mail list logo