Re: Memory explodes loading CSV into hash

2002-04-28 Thread Jeffrey Baker
On Sun, Apr 28, 2002 at 05:18:24PM +0200, Ernest Lergon wrote: > Hi, > > in a mod_perl package I load a CSV file on apache startup into a simple > hash as read-only class data to be shared by all childs. > > A loading routine reads the file line by line and uses one numeric field > as hash entry

Re: ASP Cookieless Sessions (WAS Re: Apache::ASP)

1999-12-07 Thread Jeffrey Baker
e. > > -- Joshua > _________ > Joshua Chamas Chamas Enterprises Inc. > NodeWorks >> free web link monitoring Huntington Beach, CA USA > http://www.nodeworks.com1-714-625-4051 -- Jeffrey Baker * [EMAIL PROTECTED]

Re: mod_perl Programmers demand is going up...

1999-12-03 Thread Jeffrey Baker
Stas Bekman wrote: > > Hi, folks > > You wouldn't beleive but I receive a great deal of mod_perl job offers. > Here is a partial quote of the most generic content of the offer: > > At any rate, we're finding it very hard to find mod_perl people and I > thought maybe you could refer me to so

Re: Apache::Sandwich - how can I put the right page title

1999-11-29 Thread Jeffrey Baker
Vivek Khera wrote: > > > "SM" == Shay Mandel <[EMAIL PROTECTED]> writes: > > SM> p.s. - the header file I'm getting is the same for all the pages, thus > SM> it does not resides in the same directory as the page itself. > > Conveniently, Netscape recognizes the html tag anywhere in the > d

Re: HTTP 1.0 / 1.1

1999-11-29 Thread Jeffrey Baker
Pouneh Mortazavi wrote: > > OK. so this is unrelated to the modperl mailing list. but its an > interesting question. If you know anywhere else I could post this, > please tell me. > > I'm trying to find out how many clients support HTTP 1.1 features such as > keepalives and domain-name based vir

Re: installation problems

1999-11-24 Thread Jeffrey Baker
"Jesús Mª Lasso Sánchez" wrote: > > hi: > > I'm working with linux servers based on RedHat 6.0 with Apache 1.3.9. > > My problem is when compile the mod_perl module before to install Apache. More >exactly when i'm doing: perl Makefile.PL > > it produces this error when is creating the m

Where to start with mod_perl (was Re: Flaky software)

1999-11-23 Thread Jeffrey Baker
Glen Lee Edwards wrote: > > I'm brand new to the list, so I thought I'd better ask a question before > making another post: > > What is the specific purpose/slant of this list? Is it a developer's > list? A general list to help those running Mod Perl? Are only > programming geniuses allowed t

Re: Duplicated emails from mod_perl list

1999-11-22 Thread Jeffrey Baker
"G.W. Haywood" wrote: > > On Mon, 22 Nov 1999, Andrei A. Voropaev wrote: > > > Probably this is off-topic. But it's about the list itself. Why do I > > get OLD emails from time to time. Today I got about 7 or 8 of > > those. I'm absolutely positive that I've seen them once before. Some > > of th

mod_perl on Apache 2.0

1999-11-03 Thread Jeffrey Baker
There was a short discussion a while ago about getting mod_perl working with Apache 2.0. Since Apache 2.0 can actually be built and run on a few platforms now, I think it is worth taking a lot at this for real. As far as I can tell, these are the broad things that need to be done: *Make all mod

Re: Perl Domination in CGI Programming

1999-11-03 Thread Jeffrey Baker
Stas Bekman wrote: [slashdot summary snipped] > Well, if the trend continues we ought to learn Java some day :) Ha! Well they are going to have to make JServ operable at some point if they want to replace Perl. Seriously, could they make their configuration process more opaque? I went to the

Re: mod_perl 2.21 segmentation fault

1999-11-02 Thread Jeffrey Baker
> glibc 2.0.7 ^^^ Maybe you should consider upgrading to a non-experimental libc. Aside from that, I have no clue. I know dozens of people who use this same setup, and they all work out fine. Did you compile everything together yourself? What happense when you remove mod_perl or mo

Re: Checking for valid dates

1999-11-02 Thread Jeffrey Baker
"Michael J. Miller" wrote: > > I did this using a JavaScript function that runs before the form is > submitted to validate the date locally (in the client, using JavaScript > Date objects) before submission. Has the side benefit of giving the > user real time feed back as well without a send bac

Re: Failing to reconnect after Oracle "shutdown abort" (Apache::DBI)

1999-11-02 Thread Jeffrey Baker
Greg Stark wrote: > >*** From dbi-users - To unsubscribe, see the end of this message. *** >*** DBI Home Page - http://www.symbolstone.org/technology/perl/DBI/ *** > > Tim Bunce <[EMAIL PROTECTED]> writes: > > > On Mon, Nov 01, 1999 at 09:01:48PM +, Tim Bunce wrote: > > > Has anyo

Re: Checking for valid dates

1999-11-02 Thread Jeffrey Baker
"Tubbs, Derric L" wrote: > > Is there a reasonably easy method to make sure that an entered date is > valid, I.E. is not 30 Jan 99? I am using Time::Local to convert a date > entered through an HTML form into the epoch offset (or whatever you call it) > and would like to make sure that valid dat

Re: Runaway processes

1999-10-21 Thread Jeffrey Baker
Joshua Chamas wrote: > > Mike Dameron wrote: > > > > We have several scripts using Apache::ASP and DBI, which return > > information from an Oracle database. The problem is that if I run a > > report that taken a long time (not sure how long but over 30 minutes) > > and the connection either tim

Re: Apache::Session and File Upload (Was: Apache::Sessionhangs script)

1999-10-21 Thread Jeffrey Baker
Tobias Hoellrich wrote: > > Kip, > > I think I mentioned this yesterday in an private email message already. I > had the same problem with Apache::Session 1.03 in my environment. For some > obscure reason, my tied %session didn't go out of scope and was never > "untied" at the end of one request

Re: Apache::Session and File Upload (Was: Apache::Session hangs script)

1999-10-21 Thread Jeffrey Baker
Kip Cranford wrote: > > Again, I'm using mod_perl 1.21, apache 1.3.9, Apache::Session 1.03, on a > RedHat 6 linux system with perl 5.005_03, and am using Netscape Comm. > 4.51 as my browser. > > The problem now seems to be Apache::Session and file uploads. My > handler is providing a simple fil

Re: eval'ed Apache::Session tie panics with POPSTACK?

1999-10-20 Thread Jeffrey Baker
Tobias Hoellrich wrote: > > I wanted to trap non-existant session-id's by bracketing the > > tie %{$href}, 'Apache::Session::DBI', $id, > { >DataSource => 'dbi:mysql:sessions', >UserName => 'db_user', >Password => 'db_passwd' > }; > > with an eval { }; block. Once I've don

More on web application performance with DBI

1999-10-14 Thread Jeffrey Baker
Hi all, I have converted my text-only guide to web application performance using mod_perl and DBI into HTML. The guide now lives alongside my DBI examples page at http://www.saturn5.com/~jwb/dbi-performance.html . I have also conducted a silly benchmark to see how all of these optimization affe

Re: Apache::Session. Why Apache? Why Session?

1999-10-14 Thread Jeffrey Baker
Dmitry Beransky wrote: > > I've been going through the code of Apache::Session trying to understand > how it works and how to use it when it occurred to me that the module > doesn't really measure up to it's name. I mean IMHO, the name is a bit > misleading. > > First. It looks like the module

Re: please comment on new art for perl.apache.org

1999-10-11 Thread Jeffrey Baker
Alex Schmelkin wrote: > 1. What browsers are different percentages of your user populations using? > 2. What screen resolutions are different percentages of your user > populations using? > 3. What purpose will the site serve - simply providing information, or a > marketing

Re: DB connection pooling

1999-10-04 Thread Jeffrey Baker
Stefan Reitshamer wrote: > > Hello, > > Sorry if this is in a FAQ, but I dug through a lot of FAQs and archives and > couldn't find it: > > Is there any database connection pooling built into mod_perl, or DBI? Not really. You could take a run at DBD::Proxy. -jwb -- Jeffrey W. Baker * [EMAIL

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Jeffrey Baker
Ken Williams wrote: > Are you sure? I'm still not sure you understand about defined(@list). It > actually tests whether Perl has allocated memory for the structure, not whether > the structure has ever been used or anything like that. And even the present > behavior may change without notice.

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Jeffrey Baker
Cliff Rayman wrote: > > `perldoc -f defined` yields a couple of sentences: > > You may also use C to check whether a subroutine exists, by > saying C without parentheses. On the other hand, use > of C upon aggregates (hashes and arrays) is not guaranteed to > produce intuitive results, and shou

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Jeffrey Baker
;parms; unless ($name) { my %seen; return wantarray ? grep { !$seen{$_}++ } keys %$tab : $tab; } if (defined $value) { $tab->set($name, $value); } return wantarray ? ($tab->get($name)) : scalar $tab->get($name); } -jwb Jeffrey Baker wrote:

Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Jeffrey Baker
Hi, I haven't had time to really hunt this bug to its source, but here is the report anyway. Take as an example the URI /program?foo=bar&foo=baz&foo=quux In program, which uses libapreq, I have code which looks like this: my @foo_in = $r->param('foo'); @foo_in should not be defined if there a

Re: Apache::Session hangs script

1999-01-03 Thread Jeffrey Baker
[EMAIL PROTECTED] wrote: > > > "Kip" == Kip Cranford writes: > > Kip> I'm using Apache/1.3.9 (Unix), mod_perl/1.21, Apache-Session-1.03, with > Kip> MySQL 3.22.25. I'm using the the Apache::Session::DBI module with MySQL > Kip> to provide some simple session management. I'm running the scr

Re: Installation Problem with Apache::Session and Mason

1999-01-02 Thread Jeffrey Baker
[EMAIL PROTECTED] wrote: > > I'm having a problem setting up Apache::Session on > one machine and not another, and I'm hoping that > someone will recognize what I'm doing wrong. > > I'm using Mason to make the connection to > the package when Apache starts up. On the problem > server, the follow

Re: mod_perl on Apache 2.0

1999-01-02 Thread Jeffrey Baker
Matt Sergeant wrote: > > On Thu, 04 Nov 1999, Jeffrey Baker wrote: > > I'm assuming that Perl itself is reentrant, since it has been embedded > > in multithreaded environments before (IIS). Hopefully someone can > > comment on that. > > This work was bas