Re: please help with perl script

2001-03-20 Thread Owen Boyle
Keletso Mokgethi wrote: i am a novice trying to run a perl script on apache i created a directory under httpd called "perl" in which i stored the script. according to redhat's linux 6.2 apache/ssl documentation, mod_perl is ready to run once the server is launced and there is no need for

RE: [OT] unsubscribing was Re: Varaible scope memory under mod_perl

2001-03-20 Thread Ask Bjoern Hansen
On Wed, 14 Mar 2001, Steven Zhu wrote: [...] another user (having different user email account). Now I got those emails from the alias of my original account. If I just send mail to [EMAIL PROTECTED], I believe that it does not help because [...] well, you could at least have tried. then

Re: [OT] ApacheCon BOF

2001-03-20 Thread Ask Bjoern Hansen
On 19 Mar 2001, Randal L. Schwartz wrote: "mod_perl: 20 billion hits served" And turn the "m" into a stylized arch. :) Nick er, maybe 20 trillion ... ? seeing as how ValueClick alone has done a bit Nick over 42 billion since 6/98 ... :) yeah, I was hoping valueclick would jump out and

RE: [OT] ApacheCon BOF

2001-03-20 Thread Geoffrey Young
well, thanks everyone for your suggestions (maybe :) I just thought I'd sum up some of the issues that we dealt with last year: o the Eagle and Apache feather are off limits - we didn't get permission to use them last year and don't expect that to change. o the shirt is going to have a

Re: Problem with Tie::DBI and DBI in modperl

2001-03-20 Thread John Mulkerin
Searched this list, dbiusers, and a bunch more.I'm not sure if its something so dump it's never discussed or what. There is no error message returned, it just goes back to the httpd 403 error screen. I've added a print statement in the middle of the connect and had it print to the screen

RE: [OT] ApacheCon BOF

2001-03-20 Thread Kenny Gatdula
o unfortunately, we can't get into the biz of selling any. the logistics of that is just too much. Maybe using a service like Cafe Press to sell the shirts would work? http://www.cafepress.com/ I know I'd be interested in purchasing a shirt.

Re: [NQ] Newbie Question about mod_perl

2001-03-20 Thread Pierre Phaneuf
"Differentiated Software Solutions Pvt. Ltd.," wrote: I have written two mod_perl programs whose output is same (through browser). I want to know what are the difference between them! If there is any difference then what are the pros and cons in using both of them? The second program is

RE: LimitRequestBody

2001-03-20 Thread Geoffrey Young
-Original Message- From: Victor Michael Blancas [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 10:57 PM To: [EMAIL PROTECTED] Subject: LimitRequestBody The httpd documentation says that the default LimitRequestBody configuration is 0. However, i'm only able to upload

Re: 1 Billion Bug 1BB - [OT] UNIX timestamp hits 1,000,000,000thisyear!

2001-03-20 Thread Ask Bjoern Hansen
On Fri, 9 Mar 2001, Gerd Kortemeyer wrote: [bugs and design fu^H^Hchoices waiting to happen] I will open my consulting business on Mon, Jan 18th, 2038. funny, I thought we all worked so hard to have a chance of retiring before that. - ask -- ask bjoern hansen, http://ask.netcetera.dk/

RE: [OT] ApacheCon BOF

2001-03-20 Thread David Harris
Geoffrey Young [mailto:[EMAIL PROTECTED]] wrote: o unfortunately, we can't get into the biz of selling any. the logistics of that is just too much. What about using a service like www.cafepress.com where you upload the artwork and they take care of all the logistics: order taking, payment,

RE: [OT] ApacheCon BOF

2001-03-20 Thread Geoffrey Young
-Original Message- From: David Harris [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 10:24 AM To: Geoffrey Young; [EMAIL PROTECTED] Subject: RE: [OT] ApacheCon BOF Geoffrey Young [mailto:[EMAIL PROTECTED]] wrote: o unfortunately, we can't get into the biz of

Re: [OT]Re: my()speed (was: [DIGEST] mod_perl digest 03/17/01)

2001-03-20 Thread Robert Landrum
At 11:27 AM +0800 3/20/01, Stas Bekman wrote: On Mon, 19 Mar 2001, Paul wrote: --- Geoffrey Young [EMAIL PROTECTED] wrote: mod_perl digest March 11, 2001 - March 17, 2001 Recent happenings in the mod_perl world... . . . mailing list

RE: [OT] ApacheCon BOF

2001-03-20 Thread Stas Bekman
It would also be easy enough to upload the artwork from last year. I'd use the same artwork, but change mod_perl to mod_perl 2.0. Alas, with all the latest development Doug has done for mod_perl 2.0, it seems that the release of Apache 2.0 will be the main show stopper. So let's keep the folks

Re: [OT]Re: my()speed (was: [DIGEST] mod_perl digest 03/17/01)

2001-03-20 Thread Stas Bekman
[the benchmark snipped] What can we conclude from all of this? That Lexicals and globals run at (roughly) the same speed, and that tmtowtdi... ... but that doesn't mean that we should endorse using globals. This would probably be different if globals were significantly faster. Fortunately

Re: 1 Billion Bug 1BB - [OT] UNIX timestamp hits 1,000,000,000 thisyear!

2001-03-20 Thread Gunther Birznieks
At 03:19 AM 3/20/01 -0800, Ask Bjoern Hansen wrote: On Fri, 9 Mar 2001, Gerd Kortemeyer wrote: [bugs and design fu^H^Hchoices waiting to happen] I will open my consulting business on Mon, Jan 18th, 2038. funny, I thought we all worked so hard to have a chance of retiring before that. Yeah

no-cache headers?

2001-03-20 Thread Stas Bekman
I've a note in the guide to check the correctness of the following section. I have these 2 questions: 1. Should all three headers be always sent? 2. Should $r-no_cache(1) be used for non-2xx responses? Thanks! =head1 Cache Control for Regular and Error Modes To disable the client response

Re: [OT] ApacheCon BOF

2001-03-20 Thread John Saylor
Hi ( 01.03.20 10:36 -0500 ) Geoffrey Young: still need more suggestions for a theme that aren't tongue-in-cheek, though :) But those are the best ones! And puns and other word play are a part of perl culture! Also, just for my information, who decides on the theme and how do they do it? --

[ANNOUNCE] Cache-Cache-0.05

2001-03-20 Thread DeWitt Clinton
Summary: The Perl Cache package provides Cache::Cache, a generic interface for creating persistent data stores. This interface is implemented by the Cache::MemoryCache, Cache::SharedMemoryCache, Cache::FileCache, Cache::SizeAwareFileCache, Cache::SizeAwareMemoryCache, and

Re: perl5.6 (was: Shared variables, inner subs and our)

2001-03-20 Thread Jauder Ho
Unfortunately it is a requirement for this project. We need to parse utf8 XML and munge other XML using that data. I seem to have everything working now although I had to fix some stuff in XML::DOM. --Jauder On Sun, 18 Mar 2001, Bogomolnyi Constantin wrote: Hi , Unicode is a way of pain .

book recommendations?

2001-03-20 Thread Paul Evad
I know a lot of the good O'Rielly books are showing some age (1999 publishing date). Anyone out there have a copy of "Writing Apache Modules with Perl and C", is it still relevant enough with the current apache mod_perl distro's to be worthwhile getting? Suggestions on good reference books

RE: no-cache headers?

2001-03-20 Thread Geoffrey Young
-Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 11:44 AM To: mod_perl list Subject: no-cache headers? I've a note in the guide to check the correctness of the following section. I have these 2 questions: 1. Should all three

RE: [OT] ApacheCon BOF

2001-03-20 Thread Geoffrey Young
-Original Message- From: Paul [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 12:58 PM To: Geoffrey Young Subject: RE: [OT] ApacheCon BOF --- Geoffrey Young [EMAIL PROTECTED] wrote: still need more suggestions for a theme that aren't tongue-in-cheek, lol! Why,

understanding memory via ps -ely | grep http

2001-03-20 Thread Tim Gardner
I have been trying to reduce/tune the memory requirements of an online game which uses mod_perl (Apache::Registry). I have read the suggestions at http://perl.apache.org/tuning/ and am trying to follow them. The first suggestion is to preload the modules by including Perlrequire

Re: [OT] ApacheCon BOF

2001-03-20 Thread Ken
Randal 42 billion has the right sound to it. It's "the answer", after all, Randal a billion times over. :) I like it! Maybe a big round pearl with a smiley-face and a headband with feather sticking up in the back with the words "Don't Panic" in large friendly letters printed below :)

Re: [OT] ApacheCon BOF

2001-03-20 Thread Randal L. Schwartz
"Geoffrey" == Geoffrey Young [EMAIL PROTECTED] writes: still need more suggestions for a theme that aren't tongue-in-cheek, lol! Why, I thought that was the idea!!! Geoffrey well, of course - but much folly leaves the list innundated with (albeit Geoffrey funny) postings but not much for

Re: notes() from registry-php-registry

2001-03-20 Thread darren chamberlain
daniel ([EMAIL PROTECTED]) said something to this effect on 03/19/2001: hello all, i've got a registry script that issues a subrequest for a php page that issues a subrequest on another registry script. registry-php-registry the initial registry script sets: $r-notes("seen"=

Re: book recommendations?

2001-03-20 Thread webmaster
Suggestions on good reference books to get? (I have most of the Perl library already). Diving into mod_perl with this new job of mine was certinaly made much easier with 'Apache modules with perl / C' ... I'd pick it up for reference at the very least. _Thomas

Re: book recommendations?

2001-03-20 Thread Pierre Phaneuf
Paul Evad wrote: I know a lot of the good O'Rielly books are showing some age (1999 publishing date). Anyone out there have a copy of "Writing Apache Modules with Perl and C", is it still relevant enough with the current apache mod_perl distro's to be worthwhile getting? Yeah, it still

[OT] ApacheCon BOF shirts

2001-03-20 Thread Dave Rolsky
So as not to be a total spoilsport, I would like to point out that I thought Randal's idea (Mcmod_perl?) was rather clever and I think it'd be cool (though I don't know if there are trademark issues). -dave /*== www.urth.org We await the New Sun ==*/

Re: dbm locking info in the guide

2001-03-20 Thread Perrin Harkins
On Tue, 20 Mar 2001, Stas Bekman wrote: Is anyone aware of a safe to way to do multi-process read/write access through a dbm module other than BerkeleyDB.pm without tie-ing and untie-ing every time? I thought that was the only safe thing to do because of buffering issues, but this seems

Re: book recommendations?

2001-03-20 Thread Dave Hodgkinson
Paul Evad [EMAIL PROTECTED] writes: I know a lot of the good O'Rielly books are showing some age (1999 publishing date). Anyone out there have a copy of "Writing Apache Modules with Perl and C", is it still relevant enough with the current apache mod_perl distro's to be worthwhile

Re: Problem with Tie::DBI and DBI in modperl

2001-03-20 Thread Perrin Harkins
On Tue, 20 Mar 2001, John Mulkerin wrote: There is no error message returned, it just goes back to the httpd 403 error screen. What about in the error log? Have you read the DBI docs on how to get your error message to print? You should either have RaiseError on or be checking return codes

RE: book recommendations?

2001-03-20 Thread David M. Davisson
Paul, You certainly are correct about the book being a bit dated. But it is still a great reference, especially for beginners. Even with the book you still must read the perldocs. -- Dave Davisson [EMAIL PROTECTED] -Original Message- From: Paul Evad [mailto:[EMAIL PROTECTED]]

[OT] FileHandle and forking

2001-03-20 Thread Robert Landrum
I've encounted what I believe to be an error in either a) FileHandle.pm, b) Perl, or c) Linux 2.2.17. I'm writing a bulkmailer (for legitimate resons). I dump all the emails to a file sorted by domain. My parent process begins reading the file and forks a "domain processor" whenever it

RE: [OT] ApacheCon BOF

2001-03-20 Thread Nick Tonkin
On Tue, 20 Mar 2001, Dave Rolsky wrote: On Tue, 20 Mar 2001, Geoffrey Young wrote: If you get a really good artist, put the lamp/bottle into the hands of a well-built Native American figure (a warrior-type is great, but an "indian princess" has subliminal appealok, ok, but think

RE: [OT] ApacheCon BOF

2001-03-20 Thread Geoffrey Young
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 2:59 PM To: Geoffrey Young Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: Re: [OT] ApacheCon BOF "Geoffrey" == Geoffrey Young [EMAIL PROTECTED] writes: still need

RE: [OT] ApacheCon BOF

2001-03-20 Thread Dave Rolsky
On Tue, 20 Mar 2001, Geoffrey Young wrote: If you get a really good artist, put the lamp/bottle into the hands of a well-built Native American figure (a warrior-type is great, but an "indian princess" has subliminal appealok, ok, but think about it, lol!) I think the graphics house

Re: [OT] ApacheCon BOF

2001-03-20 Thread Randal L. Schwartz
"Geoffrey" == Geoffrey Young [EMAIL PROTECTED] writes: Geoffrey sorry Randal - I guess I just found it so funny that I Geoffrey didn't think you were really serious about it (I saw the big Geoffrey glowing M and nearly snarfed my coffee :) As a professional comedian, I *demand* that my name

RE: [OT] ApacheCon BOF

2001-03-20 Thread Geoffrey Young
-Original Message- From: Dave Rolsky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 3:19 PM To: Geoffrey Young Cc: '[EMAIL PROTECTED]' Subject: RE: [OT] ApacheCon BOF On Tue, 20 Mar 2001, Geoffrey Young wrote: If you get a really good artist, put the

Re: understanding memory via ps -ely | grep http

2001-03-20 Thread Perrin Harkins
On Tue, 20 Mar 2001, Tim Gardner wrote: I understand that the RSS is the resident size in KB and the SZ column is the size of the process, but what should I be seeing in the way of reduced memory? The 13MB/18MB is not much different from when I don't preload anything. Should I be seeing

Re: [OT] ApacheCon BOF shirts

2001-03-20 Thread Randal L. Schwartz
"Dave" == Dave Rolsky [EMAIL PROTECTED] writes: Dave So as not to be a total spoilsport, I would like to point out that I Dave thought Randal's idea (Mcmod_perl?) was rather clever and I think it'd be Dave cool (though I don't know if there are trademark issues). Remember. It's a Parody.

Re: dbm locking info in the guide

2001-03-20 Thread Joshua Chamas
Perrin Harkins wrote: Is anyone aware of a safe to way to do multi-process read/write access through a dbm module other than BerkeleyDB.pm without tie-ing and untie-ing every time? I thought that was the only safe thing to do because of buffering issues, but this seems to be implying that

Re: notes() from registry-php-registry

2001-03-20 Thread Daniel
Ahh. Thanks much. darren chamberlain wrote: Nor should it be. You need to set the note in the subrequest, or access the parent's notes table. Try replacing the first piece with: my $subr = $r-lookup_uri('test.php3'); $subr-notes('seen' = $seen); $subr-run; And the

Re: dbm locking info in the guide

2001-03-20 Thread Perrin Harkins
On Tue, 20 Mar 2001, Joshua Chamas wrote: I know the tie/untie MLDBM::Sync strategy with DB_File is slow, but what size data are you caching? I'm not. Well, actually I am, but I use BerkeleyDB which handles its own locking. I just noticed this in the Guide and figured that either it was out

Re: dbm locking info in the guide

2001-03-20 Thread Stas Bekman
On Tue, 20 Mar 2001, Perrin Harkins wrote: On Tue, 20 Mar 2001, Stas Bekman wrote: Is anyone aware of a safe to way to do multi-process read/write access through a dbm module other than BerkeleyDB.pm without tie-ing and untie-ing every time? I thought that was the only safe thing to

JOBS with CNET.com in Illinois

2001-03-20 Thread Sean Lally
CNET is hiring in Itasca Illinois Let me introduce myself, my name is sean lally and I am the Director of Corporate Recruiting for CNET in San Francisco. We now have 11 positions open in Itasca. Here are the positions I hope to tempt you with: Director IT-IS Data Manager SR Software Engineer

RE: no-cache headers?

2001-03-20 Thread Stas Bekman
On Tue, 20 Mar 2001, Geoffrey Young wrote: For normally generated response use: $r-header_out("Pragma","no-cache"); $r-header_out("Cache-control","no-cache"); $r-no_cache(1); $r-no_cache(1) sets these headers for you - no need to set them yourself. If for some reason you

Re: dbm locking info in the guide

2001-03-20 Thread Perrin Harkins
On Wed, 21 Mar 2001, Stas Bekman wrote: You mean with DB_File? There's a big warning in the current version saying not to do that, because there is some initial buffering that happens when opening a database. The warning says not to lock on dbm fd but an external file! I think you'll

Re: understanding memory via ps -ely | grep http

2001-03-20 Thread Stas Bekman
On Tue, 20 Mar 2001, Tim Gardner wrote: I have been trying to reduce/tune the memory requirements of an online game which uses mod_perl (Apache::Registry). I have read the suggestions at http://perl.apache.org/tuning/ and am trying to follow them. The first suggestion is to preload the

RE: dbm locking info in the guide

2001-03-20 Thread David Harris
Perrin Harkins [mailto:[EMAIL PROTECTED]] wrote: I think you'll still have problems with this technique, unless you tie/untie every time. I'm looking at the perldoc for DB_File version 1.76, at the section titled "Locking: the trouble with fd". At the very least, you'd have to call sync

Re: dbm locking info in the guide

2001-03-20 Thread Stas Bekman
On Tue, 20 Mar 2001, Perrin Harkins wrote: On Wed, 21 Mar 2001, Stas Bekman wrote: You mean with DB_File? There's a big warning in the current version saying not to do that, because there is some initial buffering that happens when opening a database. The warning says not to lock

RE: dbm locking info in the guide

2001-03-20 Thread Stas Bekman
On Tue, 20 Mar 2001, David Harris wrote: Perrin Harkins [mailto:[EMAIL PROTECTED]] wrote: I think you'll still have problems with this technique, unless you tie/untie every time. I'm looking at the perldoc for DB_File version 1.76, at the section titled "Locking: the trouble with fd".

Re: please help with perl script

2001-03-20 Thread Keletso Mokgethi
thank you Mr Boyle for the help. i have been able to gain access to the directory, but i still cannot get any HTML output from the script. the browser just hangs when i try to access it. i figure the problem might have to do with the code, and i was wondering if anyone could help me debug. the

Re: [OT] ApacheCon BOF

2001-03-20 Thread sterling
On Mon, 19 Mar 2001, Drew Taylor wrote: snip.. won't be there this year. Speaking of which, will the mod_perl classes have the handouts available over the web? i know doug's been updating his: http://perl.apache.org/~dougm/modperl_2.0.html sterling

Re: dbm locking info in the guide

2001-03-20 Thread Perrin Harkins
Stas Bekman wrote: So basically what you are saying is that sync() is broken and shouldn't be used at all. Something fishy is going on. The purpose of sync() is to flush the modifications to the disk. Saving changes to disk isn't the problem. The issue is that some of the database gets