Re: my first attempt at a perl script (syntax error)

2000-07-22 Thread Rob Tanner
--On 07/22/00 17:33:59 -0400 Sam Carleton <[EMAIL PROTECTED]> wrote: > I have begun writting my first mod_perl module. I figured that I would > get the logic working perl first, considering I am new at the language > in general. Well, low and behold, I have a few syntax error which I > don't

Re: howto config apache to allow perl to filter php pages

2000-07-22 Thread Rob Tanner
--On 07/22/00 15:56:18 -0400 Sam Carleton <[EMAIL PROTECTED]> wrote: > > I was reading the O'Reilly book "Writting Apache Modules in Perl and C" > and discovered the navbar example. I really like how Stein/MacEachern > designed the navbar code. Once the code was written, it read in a > configur

Re: [OT]: Re: ApacheCon Europe - thoughts please ?

2000-07-22 Thread Vivek Khera
> "DH" == David Hodgkinson <[EMAIL PROTECTED]> writes: DH> Gunther Birznieks <[EMAIL PROTECTED]> writes: >> Well, I'm sort of kidding here. But the reality is that a conference offers >> a lot -- not just knowledge (then just attend a tutorial locally at Sun or >> someplace) but networking

Re: my first attempt at a perl script (syntax error)

2000-07-22 Thread Sam Carleton
Sam Carleton wrote: > > Alex Farber wrote: > > > > A good place to ask is news:comp.lang.perl.misc (after you've > > read http://www.perl.com/pub/doc/manual/html/pod/perlfaq.html ) > > Maybe I have read things like "Programming Perl" from O'Reilly and > "Writting Apache Modules in Perl and C", a

Re: my first attempt at a perl script (syntax error)

2000-07-22 Thread Sam Carleton
Alex Farber wrote: > > Hi Sam, > > Sam Carleton wrote: > > I have a few syntax error which I > > don't know how to resolve. One issue is how to declare a local > > variable, and the other is a problem with my open statement. > > maybe you should read some introductionary Perl > books, like htt

Re: my first attempt at a perl script (syntax error)

2000-07-22 Thread Alex Farber
Hi Sam, Sam Carleton wrote: > I have a few syntax error which I > don't know how to resolve. One issue is how to declare a local > variable, and the other is a problem with my open statement. maybe you should read some introductionary Perl books, like http://www.effectiveperl.com/toc.html or h

Re: YAM (Yet Another Module) - an IPC shared cache thing - anyone interested ?

2000-07-22 Thread Joshua Chamas
Greg Cope wrote: > > Dear All > > I've writen a small IPC sysV based shared cache thingy ... (useing > IPC::ShareLite), and I'd like some comments oin the design if anywants > to crtique... > > Why / the problem: > > I work in a dept where the coderes (Me !) code, and the HTML design > people

my first attempt at a perl script (syntax error)

2000-07-22 Thread Sam Carleton
I have begun writting my first mod_perl module. I figured that I would get the logic working perl first, considering I am new at the language in general. Well, low and behold, I have a few syntax error which I don't know how to resolve. One issue is how to declare a local variable, and the othe

Re: howto config apache to allow perl to filter php pages

2000-07-22 Thread Joshua Chamas
Aaron Johnson wrote: > > I was thinking about the same thing awhile back. It was interesting to me that > lots of neat applications are PHP based. I would like to be able to take the > processed PHP page and include it inside of my mod_perl page. I was thinking > there are several ways I could

Re: howto config apache to allow perl to filter php pages

2000-07-22 Thread Aaron Johnson
I was thinking about the same thing awhile back. It was interesting to me that lots of neat applications are PHP based. I would like to be able to take the processed PHP page and include it inside of my mod_perl page. I was thinking there are several ways I could handle. I can have a seperate

Re: howto config apache to allow perl to filter php pages

2000-07-22 Thread Sam Carleton
Rob Tanner wrote: > > --On 07/16/00 16:11:07 -0400 Sam Carleton <[EMAIL PROTECTED]> wrote: > > > I would like perl to process a php page before or after the php > > interpreter get's it hands on the file. I am trying to add a navbar to > > the PHP code. How would I go about doing that? > > > >

Re: howto config apache to allow perl to filter php pages

2000-07-22 Thread Rob Tanner
--On 07/16/00 16:11:07 -0400 Sam Carleton <[EMAIL PROTECTED]> wrote: > I would like perl to process a php page before or after the php > interpreter get's it hands on the file. I am trying to add a navbar to > the PHP code. How would I go about doing that? > > Sam The simple answer is wait for

Re: YAM (Yet Another Module) - an IPC shared cache thing - anyoneinterested ?

2000-07-22 Thread T.J. Mather
Have you considered using HTML::Template? It is a simple yet powerful way to seperate HTML from Perl code. It can do loops (good for HTML tables), includes, and if/unless/else statements. Furthermore, it has shared memory for templates built in. http://theoryx5.uwinnipeg.ca/mod_perl/cpan-sear

Re: [OT]: Re: ApacheCon Europe - thoughts please ?

2000-07-22 Thread Gunther Birznieks
At 06:59 PM 7/21/00 +, you wrote: >Gunther Birznieks wrote: > > > > > > > > >Thoughts from anyone ? > > > > Yeah, you're being pretty cheap. :) > > > > Well, I'm sort of kidding here. But the reality is that a conference offers > > a lot -- not just knowledge (then just attend a tutorial local

Re: YAM (Yet Another Module) - an IPC shared cache thing - anyone interested ?

2000-07-22 Thread Greg Cope
Francesco Pasqualini wrote: > > is it possible to use IPC sysV to share DBI connection between apache > childs ? IIRC this is not possible as DBI connections are special magic things - this was discussed on the list a few months back - but I cannot remember the name of the thread. Greg Cope

Re: YAM (Yet Another Module) - an IPC shared cache thing - anyone interested ?

2000-07-22 Thread Francesco Pasqualini
is it possible to use IPC sysV to share DBI connection between apache childs ? What I'm looking for is the possibility to store a DBI connections in the $Session object (Apache::ASP or Apache::Session). In this way we can start a DB connection for each user session and we can have different appl

Re: YAM (Yet Another Module) - an IPC shared cache thing - anyone interested...

2000-07-22 Thread JoshNarins
[EMAIL PROTECTED] writes: [No StatINC because...] > I do not use it to store perl modules, only to store all my html templates. > > Does that make sense ? Well, it isn't scalable past one machine, you know. As long as you are willing to live with that, fine. If that is a problem, I'm not sure i

Re: YAM (Yet Another Module) - an IPC shared cache thing - anyone interested ?

2000-07-22 Thread Greg Cope
[EMAIL PROTECTED] wrote: > > Sorry, sounds like you could have just used Apache::StatINC, no? Apache::StatINC only reloads your perl modules if they change. My module loads (HTML) templates into a shared IPC memory segment - or rather anything that can be stored as a scalar (limits of IPC::Shar

Re: [OT] mod_rewrite

2000-07-22 Thread Jeff Jones
I would like to thank the many people on list for offering help for my mod_rewrite problem. I think I have it figured out, but for those of you who e-mailed me off list I am going to send you a snippet of my code, just to make sure I am not totally off of my rocker :) Once again, thank you. Je

Re: Apache & Browser

2000-07-22 Thread David D. Kilzer
NOTE: This thread should really move to the mod_perl mailing list. Subscription info is here: http://perl.apache.org/#maillists Actually, using the Apache::SIG module will do what you want. http://search.cpan.org/doc/DOUGM/mod_perl-1.24/lib/Apache/SIG.pm There are some caveats. I don't rem

Re: [OT]: Re: ApacheCon Europe - thoughts please ?

2000-07-22 Thread Greg Cope
Gunther Birznieks wrote: > > > > >Thoughts from anyone ? > > Yeah, you're being pretty cheap. :) > > Well, I'm sort of kidding here. But the reality is that a conference offers > a lot -- not just knowledge (then just attend a tutorial locally at Sun or > someplace) but networking. The coordin

YAM (Yet Another Module) - an IPC shared cache thing - anyone interested ?

2000-07-22 Thread Greg Cope
Dear All I've writen a small IPC sysV based shared cache thingy ... (useing IPC::ShareLite), and I'd like some comments oin the design if anywants to crtique... Why / the problem: I work in a dept where the coderes (Me !) code, and the HTML design people do HTML. The only commonality we share

Re: [OT]: Re: ApacheCon Europe - thoughts please ?

2000-07-22 Thread Greg Cope
David Hodgkinson wrote: > > Gunther Birznieks <[EMAIL PROTECTED]> writes: > > > Well, I'm sort of kidding here. But the reality is that a conference offers > > a lot -- not just knowledge (then just attend a tutorial locally at Sun or > > someplace) but networking. > > Buying key people lots of

Re: Help! Need strategy for upgrading production system!

2000-07-22 Thread Greg Cope
Doug Luce wrote: > > For this sort of thing, I assign a second IP address to the machine, then > configure everything to bind to that IP address (making sure the original > implementation binds to the first IP address only). Or you could use a different set of ports ... less to configure then.