mergemem anyone?

2000-02-04 Thread Stas Bekman
Hi, Did any of you have tried to work with mergemem? http://www.ist.org/mergemem/ It's supposed to drastically reduce the size of unshared memory. Currently is available only for linux and its status is stable. Comments and experience stories are very welcome.

RE: Embperl: problem with module imports

2000-02-04 Thread Gerald Richter
The test.html file contains only the [- use MODULE_HERE -] line. Try [- use MODULE_HERE ; -] for whatever reason, Perl likes to see a semikolon here. Gerald

Re: DSO build questions

2000-02-04 Thread G.W. Haywood
Hi there, On Thu, 3 Feb 2000, Wang, Pin-Chieh wrote: Ged, Thanks much for your help, Please tell me if I asked too many questions, If you don't I'll keep on ask you questions. After I said that, here is another question. You aren't asking too many questions, but please forgive me if I

Re: Performance advantages to one large, -or many small mod_perl program?

2000-02-04 Thread Keith Kwiatek
Thanks, and pardon the newbie question, but by "modules" are you referring to ".pm" files placed in the perl lib directory? OR to some other mod_perl type file/cofiguration? Keith The best technique is to write all your code using modules and having only a few lines of code in the

RFC: rare species^H^H^H^H^H^H^Hmodules

2000-02-04 Thread Stas Bekman
Hi, All Probably many of you don't know but there are many Apache::* modules out there, that can save you a lot of development and debugging time. The problem is that many modules were never discussed and therefore used. I suggest to open a series of posts whose goal to make the introduction

[RareModules] Apache::SubProcess

2000-02-04 Thread Stas Bekman
So, here is a first rare module: Apache::SubProcess Doug wrote this module a while ago, but it was never mentioned here on the list. It's available from CPAN. The output of Csystem(), Cexec(), and Copen(PIPE,"|program") calls will not be sent to the browser unless your Perl was configured with

Re: Performance advantages to one large, -or many small mod_perl program?

2000-02-04 Thread Stas Bekman
and pardon the newbie question, but by "modules" are you referring to ".pm" files placed in the perl lib directory? OR to some other mod_perl type file/cofiguration? Keith The best technique is to write all your code using modules and having only a few lines of code in the

Apache-DBILogin-1.5 [was Re: installing ApacheDBI..]

2000-02-04 Thread Brian S. Craigie
I'm had this same problem when I tried to install Apache-DBILogin-1.5 as it does: require Apache::DBI in Makefile.PL to test if apache's DBI is installed. I don't know how the author ever managed to get the Makefile.PL to succeed. Removing the require statement from the makefile permits

RE: Embperl: loop control bug

2000-02-04 Thread Christian Gilmore
Should embperl then be altered to handle loop control itself or should we just use [* *] embperl structures to allow us to use perl's control structures instead of embperl's? In either event, it should probably be documented as a shortcoming of using embperl's control structures. Regards,

RE: Embperl: problem with module imports

2000-02-04 Thread Christian Gilmore
Thanks, Gerald. That worked. The documentation should reflect the need for the semi-colon. The use statement is an example in the section on [- -]. At least at this spot, if not also in a special gotchas section, it should be mentioned. Regards, Christian -Original Message- From:

RE: Embperl: loop control bug

2000-02-04 Thread Christian Gilmore
Actually, the use of last/next still causes a core dump (bus error) with perl's structures as well. Uncommenting either of the two loop control lines will cause the dump. [- $i = 0; -] [* while ($i 10) { *] [+ $i +]br [* if ($i == 5) { *] [# last; #] [- $i++; -] [# next;

ASP not working

2000-02-04 Thread Johnny Westerlund
Hi there i wonder if someone can help me with getting ASP to work if this is unapropriate please forgive my ignorence, and disregard from this message. I'm running Debian Linux with Apache Server version: Apache/1.3.9 (Unix) Debian/GNU Server built: Oct 30 1999 22:46:08 here is a snip from

Apache::ASP

2000-02-04 Thread David Vaught-Alexander
Okay, I'm new to asp. It's been a nightmare getting my redhat 6.0 httpsd server to even process this stuff. Anyway, I finally got some action. So after my demo stuff worked for the most part, I tried this guestbook I generated in Drumbeat 2000...I'm lost. 1. loaded

Embperl 1.2b9: [error] Modification of a read-only value attempted

2000-02-04 Thread Dirk Lutzebaeck
Totally weird. Suddenly I get the following error message after uploading a file: [error] Modification of a read-only value attempted a t /local/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl.pm I think I haven't changed a thing but maybe I'm just stoned... This is on Embperl 1.2b9 apache

Re: Performance advantages to one large, -or many small mod_perl program?

2000-02-04 Thread Stas Bekman
A module is a package that lives in a file of the same name. For example, the Hello::There module would live in Hello/There.pm. For details, read Lperlmod. You'll also find LExporter helpful. If you're writing a C or mixed-language module with both C and Perl, then you should study

Re: Performance advantages to one large, -or many small mod_perl program?

2000-02-04 Thread Leslie Mikesell
According to Ask Bjoern Hansen: Is there any way to make mod_perl reload modified modules in some directories but not check at all in others? I'd like to avoid the overhead of stat'ing the stable modules every time but still automatically pick up changes in things under development.

RE: .makepl_args.mod_perl

2000-02-04 Thread Eric Cholet
A newbie question. Though I have successfully built mod_perl from command line parameters I decided to try the .makepl_args.mod_perl file method from the Eagle book. I had EVERYTHING=1 as the first line in this file but when I run I get... It's makepl_args.mod_perl, not .makepl_args.mod_perl (no

Re: mergemem anyone?

2000-02-04 Thread Jeffrey W. Baker
Stas Bekman wrote: Hi, Did any of you have tried to work with mergemem? http://www.ist.org/mergemem/ It's supposed to drastically reduce the size of unshared memory. Currently is available only for linux and its status is stable. Comments and experience stories are very welcome. I

Re: .makepl_args.mod_perl

2000-02-04 Thread Stas Bekman
A newbie question. Though I have successfully built mod_perl from command line parameters I decided to try the .makepl_args.mod_perl file method from the Eagle book. I had EVERYTHING=1 as the first line in this file but when I run I get... PerlDispatchHandler.disabled (enable with

Re: .makepl_args.mod_perl

2000-02-04 Thread Bakki Kudva
Thank you, Eric. Looks like the Eagle book has an error then. Is there an errata for it some where? I don't see it on their home page. bakki A newbie question. Though I have successfully built mod_perl from command line parameters I decided to try the .makepl_args.mod_perl file method from

Re: mergemem anyone?

2000-02-04 Thread Stas Bekman
Did any of you have tried to work with mergemem? http://www.ist.org/mergemem/ It's supposed to drastically reduce the size of unshared memory. Currently is available only for linux and its status is stable. Comments and experience stories are very welcome. I couldn't contact

RE: Apache::ASP

2000-02-04 Thread Alex Schmelkin
David, You've written your ASP in JavaScript (or Drumbeast 2000 did it for you). Apache::ASP is for scripts written in PERL that want to take advantage of the ASP object API. If you want to run your JavaScript ASP on a non-IIS platform you will have to go with another solution (like from

RE: Embperl 1.2b9: [error] Modification of a read-only value attempted

2000-02-04 Thread Gerald Richter
Totally weird. Suddenly I get the following error message after uploading a file: [error] Modification of a read-only value attempted a t /local/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl.pm Gerald, do you have any opinion on this? Upgrade to 1.2.1. If you get this error depends

RE: Embperl: loop control bug

2000-02-04 Thread Gerald Richter
Should embperl then be altered to handle loop control itself or should we just use [* *] embperl structures to allow us to use perl's control structures instead of embperl's? In either event, it should probably be documented as a shortcoming of using embperl's control structures. Use the

Re: .makepl_args.mod_perl

2000-02-04 Thread Stas Bekman
Thank you, Eric. Looks like the Eagle book has an error then. Is there an errata for it some where? I don't see it on their home page. It's a typo indeed, several occurences at the page 649. The Errata is available from the place it's supposed to be -- the publisher's site:

Re: .makepl_args.mod_perl

2000-02-04 Thread David McCabe
From: Bakki Kudva [EMAIL PROTECTED] Date: Fri, 04 Feb 2000 11:52:43 -0500 Subject: Re: .makepl_args.mod_perl To: modperl-list [EMAIL PROTECTED] Thank you, Eric. Looks like the Eagle book has an error then. Is there an errata for it some where? I don't see it on their home page. It's

[RareModules] Apache::VMonitor

2000-02-04 Thread Stas Bekman
Apache::VMonitor - Visual System and Apache Server Monitor This module emulates the reporting functionalities of top(), mount(), df() and ifconfig() utilities. There is a special mode for mod_perl processes. It has a visual alert capabilities and configurable

Re: RareModules

2000-02-04 Thread Stas Bekman
On Fri, 4 Feb 2000, Stas Bekman wrote: I suggest to open a series of posts whose goal to make the introduction of new and old modules [snip] What do you think? Good idea! Let's do Apache::VMonitor - I read in the docs that it needs GTop so I read the GTop docs and that needs...

Re: .makepl_args.mod_perl

2000-02-04 Thread Bakki Kudva
Also I noted that in the guide most paramters are listed in the blue boxes as PERL-* instead of PERL_*. This could be confusing to newcomers. Excuse me? There is no a single PERL- in there. I am not sure what is going on here. You are right! In Netscape it appears correctly as

Re: [Rare Modules] Apache::RegistryNG

2000-02-04 Thread Simon Rosenthal
At 06:17 PM 2/4/00 +0200, Stas Bekman wrote: The next module is Apache::RegistryNG. CApache::RegistryNG is the same as CApache::Registry, aside from using filename instead of URI for the namespace. It also uses OO interface. snip There is no compelling reason to use CApache::RegistryNG over

Re: .makepl_args.mod_perl

2000-02-04 Thread Bakki Kudva
A big THANK YOU to all for clarifying the usage of this file. bakki So both work, depending on where the file is. I use the .makepl... form, in my $HOME dir, so that I don't have to edit a new one for every new version. :) David McCabe Unix SysAdmin/Peon

Can't upgrade that kind of scalar (and more)

2000-02-04 Thread Ed Loehr
I've scoured deja.com, FAQs, modperl list archives at forum.swarthmore.edu, 'perldoc mod_perl_traps', experimented ad nauseum for 4 days now... this modperl newbie is missing something important... Lasting gratitude and a check in the mail for dinner on me to any of you who can offer any

Re: [Rare Modules] Apache::RegistryNG

2000-02-04 Thread Stas Bekman
At 06:17 PM 2/4/00 +0200, Stas Bekman wrote: The next module is Apache::RegistryNG. CApache::RegistryNG is the same as CApache::Registry, aside from using filename instead of URI for the namespace. It also uses OO interface. snip There is no compelling reason to use

Re: [Rare Modules] Apache::RegistryNG

2000-02-04 Thread G.W. Haywood
Hi there, On Fri, 4 Feb 2000, Stas Bekman wrote: CApache::RegistryNG inherits from CApache::PerlRun, but the handler() is overriden. Does this have any implications for users of `dirty' scripts? Obviously such scripts will be `legacy' code, of course... 73, Ged.

Re: .makepl_args.mod_perl

2000-02-04 Thread G.W. Haywood
Hi there, It looks like you have all your questions answered now, but I have one or two. On Fri, 4 Feb 2000, Bakki Kudva wrote: I read the guide and there is no mention of this. Also I noted that in the guide most paramters are listed in the blue boxes as PERL-* instead of PERL_*. Stas is

Re: [Rare Modules] Apache::RegistryNG

2000-02-04 Thread Stas Bekman
CApache::RegistryNG inherits from CApache::PerlRun, but the handler() is overriden. Does this have any implications for users of `dirty' scripts? Apache::PerlRun is for the `dirty' scripts, Apache::RegistryNG is not. Obviously such scripts will be `legacy' code, of course... 73,

Re: [Rare Modules] Apache::RegistryNG

2000-02-04 Thread Stas Bekman
On Fri, 4 Feb 2000, Simon Rosenthal wrote: At 07:55 PM 2/4/00 +0200, Stas Bekman wrote: At 06:17 PM 2/4/00 +0200, Stas Bekman wrote: The next module is Apache::RegistryNG. CApache::RegistryNG is the same as CApache::Registry, aside from using filename instead of URI for the

Re: Apache-DBILogin-1.5 [was Re: installing ApacheDBI..]

2000-02-04 Thread John D Groenveld
Thank you for CC'ng me. I've been away from modperl for a while and my modperl mail folder has 3500 thousand messages waiting for me to sort through. :( I don't know how the author ever managed to get the Makefile.PL to succeed. Guilty as charged. Its pretty poor code and you're right that it

RE: [Rare Modules] Apache::RegistryNG

2000-02-04 Thread Geoffrey Young
Simon - I'm not seeing the behavior you document after running a few tests... can you provide a specific RewriteRule and other relevant info? while mod_rewrite kinda has it own rules of play, the documentation says that the latest phase it touches is the Fixup phase, which, it explains, is

[JOBS] Global Knowledge Group Inc.

2000-02-04 Thread Michael schout
Hi! Here is a job posting from the company I work for. If anyone here has any general questions, you can just email me, otherwise, you can apply by sending your information in to Global Knowledge Group as described at the end of the posting. Mike - We are looking for several mod_perl

X-Forwarded-For problem

2000-02-04 Thread Ewan Edwards
Hi all, I'm in the process of implementing the Guide's recipe for creating a light front-end server / mod_perl enabled back-end server in order to solve a problem with too many database connections being open, but that's not the problem I'm writing about. My app doesn't use IPs for state or

CGI::Cookie parse

2000-02-04 Thread Aaron Ross
Hi! I'm trying to write an AccessHandler. I'm using CGI::Cookie to, you got it, create and parse Cookies. However, I'm getting an error that I don't totally understand. ( This is mod_perl related... just hold on. ) If i call CGI::Cookie-parse($r-headers_in-get('Cookie')); I will

Re: X-Forwarded-For problem

2000-02-04 Thread Ewan Edwards
On Fri, Feb 04, 2000 at 02:33:30PM -0500, Vivek Khera wrote: EE Looking at the front-end server's /server-info, included in the list of EE built in modules, I see: EE Module Name: mod_proxy_add_forward.c EE Content handlers: none EE Configuration Phase Participation: none EE Request

Re: Problems during Apache mod_perl and ASP installation

2000-02-04 Thread G.W. Haywood
Hi there, On Fri, 4 Feb 2000, Diego Gomez wrote: sh: ./Configure: File or directory not exist Look in the Guide, in the files `install.pod' and `scenario.pod'. I think you will find everything you need is there on the first page or so of each. 73, Ged.

Re: .makepl_args.mod_perl

2000-02-04 Thread G.W. Haywood
Hi there, More topical: Well I think we've done that one. It seems that if not actually an error the documents conspire to confuse. Certainly one for the errata even if it's not really wrong. I have a couple of dozen other notes about the Eagle Book, is there a CVS snapshot of the errata

Too many arguments for .. problem

2000-02-04 Thread Rafael Caceres
Dear friends: I've started with mod_perl just a month ago, and have been building a mod_perl/DBI/Oracle applicacion which went fine, until the following sequence ocurred: 1) I added the exit() routine from the guide, along with it's corresponding BEGIN block 2) I started getting the following

Re: CGI::Cookie parse

2000-02-04 Thread Nick Tonkin
use Apache; use Apache::Cookie; sub handler { my $r = shift; my $cookies = Apache::Cookie-new($r)-parse; my %bar = $cookies-{foo}-value; } much simpler, no? On Fri, 4 Feb 2000, Aaron Ross wrote: Hi! I'm trying to write an AccessHandler. I'm using CGI::Cookie to, you got it,

Re: Performance advantages to one large, -or many small mod_perlprogram?

2000-02-04 Thread Joshua Chamas
Ask Bjoern Hansen wrote: On Fri, 4 Feb 2000, Leslie Mikesell wrote: [...] Is there any way to make mod_perl reload modified modules in some directories but not check at all in others? I'd like to avoid the overhead of stat'ing the stable modules every time but still automatically

Re: CGI::Cookie parse

2000-02-04 Thread Stas Bekman
On Fri, 4 Feb 2000, Aaron Ross wrote: Hi! I'm trying to write an AccessHandler. I'm using CGI::Cookie to, you got it, create and parse Cookies. However, I'm getting an error that I don't totally understand. ( This is mod_perl related... just hold on. ) If i call

Re: .makepl_args.mod_perl

2000-02-04 Thread Stas Bekman
On Fri, 4 Feb 2000, G.W. Haywood wrote: Hi there, More topical: Well I think we've done that one. It seems that if not actually an error the documents conspire to confuse. Certainly one for the errata even if it's not really wrong. I have a couple of dozen other notes about the

(Job) Mid-level or Senior Apache/Squid Extranet Developers, Seattle, WA

2000-02-04 Thread andi
Are you open to new opportunties in the Seattle area, or possibly know someone with apache or squid web server development experience who might be? I'm working on 3 jobs, 2 w/ a Unix focus and one with an NT focus on the same product. Ideally they would like the candidate to relo to Seattle,

Re: CGI::Cookie parse

2000-02-04 Thread Aaron Ross
Thanks for your help! I'll look at Apache::Cookie, too. Although I don't really see the big difference in simplicity. Aaron On Fri, 4 Feb 2000, Aaron Ross wrote: Hi! I'm trying to write an AccessHandler. I'm using CGI::Cookie to, you got it, create and parse Cookies. However, I'm

module/sandwich kills otherwise nice make test

2000-02-04 Thread JoshNarins
Hello, I searched the mod_perl archive and couldn't find any instances where module/sandwich (which I don't need or want) was the one test which failed in the installation of mod_perl. I have tried with EVERYTHING=1, all of the major stuff except SSI, and with no directives to perl Makefile.PL

Re: module/sandwich kills otherwise nice make test

2000-02-04 Thread Vivek Khera
Do you have a recent Apache::Sandwich installed? I'm still running mod_perl 1.19 because nothing has "forced" me to upgrade the production servers yet ;-) Everything worked fine up through that version, at least. Can you dig up the error log entries, and what happens if you run the Sandwich

Mod_Perl learning track

2000-02-04 Thread Scott Chapman
Hi all you "been there" guru's. I'm climbing the learning curve and seeking direction. A little background then where I'm trying to go: Pascal, dBase, bash, Visual Basic 3.0 programming experince. This included little projects without full "life-cycle" development, etc. I don't have a

Re: Mod_Perl learning track

2000-02-04 Thread Autarch
Well, you have a very large goal. Obviously, the first thing you need to do to learn the language. In your case you've chosen Perl (good choice). I'd recommend the following books: You may want to start with Elements of Programming with Perl. It teaches you programming from the ground up

Re: RFD: comp.infosystems.www.modperl

2000-02-04 Thread Bill Jones
From: John Siracusa [EMAIL PROTECTED] beneficial to have a newsgroup. I know Usenet is the first place I looked for mod_perl help before finding this list (and after finding, buying, and reading the Eagle book ;) I agree - it's just that I find people on a mailing list a little less

Re: RFD: comp.infosystems.www.modperl

2000-02-04 Thread Bill Jones
From: brian moseley [EMAIL PROTECTED] Date: Thu, 3 Feb 2000 13:02:01 -0800 (PST) what about a mail - news gateway? Um, no, it might allow: 'Anonymous spamming' ? __ http://www.fccj.org/cgi/mail?sneex

Re: RFD: comp.infosystems.www.modperl

2000-02-04 Thread Bill Jones
From: Ask Bjoern Hansen [EMAIL PROTECTED] On Thu, 3 Feb 2000, Bill Jones wrote: [...] I have to whole heartily agree. I couldn't, at first glance, find the mod_perl mailing list; but once I did, the posters here proved very helpful. I believe that once more people see the mailing ...

Re: ASP not working

2000-02-04 Thread Joshua Chamas
Johnny Westerlund wrote: Hi there i wonder if someone can help me with getting ASP to work if this is unapropriate please forgive my ignorence, and disregard from this message. I'm running Debian Linux with Apache Johnny, Congrats! Its working, just that there is a bug in the examples

newbie question: extra Content-Type headers?

2000-02-04 Thread John Darrow
I apologize if this is a dumb question, but I just installed Apache and mod_perl and all seems to have gone well. The trouble comes in when I try to run a script using Apache::Registry and CGI.pm. I get an extra Content-Type in the resulting page, and I can't figure out where it's coming from.

Re: newbie question: extra Content-Type headers?

2000-02-04 Thread Bill Moseley
At 06:21 PM 02/04/00 -0800, John Darrow wrote: I apologize if this is a dumb question, but I just installed Apache and mod_perl and all seems to have gone well. The trouble comes in when I try to run a script using Apache::Registry and CGI.pm. I get an extra Content-Type in the resulting page,

Re: module/sandwich kills otherwise nice make test

2000-02-04 Thread David McCabe
From: [EMAIL PROTECTED] Date: Fri, 04 Feb 2000 16:30:13 -0500 (EST) Subject: module/sandwich kills otherwise nice make test To: [EMAIL PROTECTED], [EMAIL PROTECTED] Hello, I searched the mod_perl archive and couldn't find any instances where module/sandwich (which I don't need or want)