Re: oddities

2002-01-12 Thread Ged Haywood
Hi again, On Sat, 12 Jan 2002, Arnold van Kampen wrote: > (only the plain string works, not the function textfield() after > several submissions) Try this instead of the first line in your handler: my $r=shift; my %params = ($r->method eq 'POST') ? $r->content : $r->args; my $bla = $para

Re: RFC: Exception::Handler

2002-01-12 Thread Rob Nagler
Matt Sergeant writes: > I don't like this for the same reason I don't like $SIG{__DIE__} - it > promotes action at a distance. In a 1000 line .pm file I *want* to have my > exception catching mechanism next to my eval{} block. You need this flexibility, but Perl allows you to do more, for good re

Re: oddities

2002-01-12 Thread Arnold van Kampen
[Sat Jan 12 17:06:19 2002] [notice] Apache/1.3.20 (Unix) AxKit/1.4 mod_perl/1.26 configured -- resuming normal operations [Sat Jan 12 17:06:19 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec) linux on regular pc kernel 2.2.18 I tried the httpd -X to make sure only

Re: oddities

2002-01-12 Thread Ged Haywood
Hi there, On Sat, 12 Jan 2002, Arnold van Kampen wrote: > What could be wrong in this few lines: > It is supposed to add 10 to the value in the textfield after each > submission. Sounds supiciously like you're using Apache on a system which allows Apache to have many child processes, and you h

Re: confused and need help

2002-01-12 Thread Ged Haywood
Hi there, On Sat, 12 Jan 2002, John Michael wrote: > I wanted to update my apache and mod-perl install. H. I take it you had a good reason for doing this? > I stated to do it and [snip] > usr/local/lib/perl5/5.6.1 > I already have a version in > usr/lib/perl5/5.6.0 > > Did it automatica

Re: Modperl 2.0 error

2002-01-12 Thread The Doctor
On Sat, Jan 12, 2002 at 10:00:04AM -0600, Randy Kobes wrote: > On Sat, 12 Jan 2002, The Doctor wrote: > > > Why in this beta am I getting: > > > > > > Script started on Sat Jan 12 02:42:20 2002 > > doctor.nl2k.ab.ca//usr/source/modperl-2.0$ make cd > > "src/modules/perl" && make cc -c > > -I/usr/

oddities

2002-01-12 Thread Arnold van Kampen
Hi What could be wrong in this few lines: It is supposed to add 10 to the value in the textfield after each submission. I tried it on another pc too, same result. (one I leave alone most of the time; no messing around) I also tried it under the perl directory (Apache::Registry) I tried using C

Re: Modperl 2.0 error

2002-01-12 Thread Randy Kobes
On Sat, 12 Jan 2002, The Doctor wrote: > Why in this beta am I getting: > > > Script started on Sat Jan 12 02:42:20 2002 > doctor.nl2k.ab.ca//usr/source/modperl-2.0$ make cd > "src/modules/perl" && make cc -c > -I/usr/source/modperl-2.0/src/modules/perl > -I/usr/source/modperl-2.0/xs -I/var/www/i

Re: PREANNOUNCE Tied Request and Cookies Module

2002-01-12 Thread Jay Lawrence
George, Thanks for your feedback. I got another message of the same nature. *blush* why didn't I think of this! I have almost ready to release: Apache::Tie::Request and Apache::Tie::Cookie J - Original Message - From: "George Sanderson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: PREANNOUNCE Tied Request and Cookies Module

2002-01-12 Thread George Sanderson
At 10:18 PM 1/7/2002 -0500, Jay Lawrence wrote: > >I am thinking of names such as: > >Apache::Request::Tied >or Apache::Args::Tied >and >Apache::Cookies::Tied >and >Apache::RequestFiles::Tied > >or possibly: >Apache::Tied::Request, etc. > >Any interest, comments, suggestions,

confused and need help

2002-01-12 Thread John Michael
Hi I wanted to update my apache and mod-perl install. I stated to do it and found that I needed the LWP module which requires some other modules first. I got allĀ of them on untill I needed the libnet module. ALl of the other modules I installed by hand and having no problems until I needed th

Re: Exception::Handler

2002-01-12 Thread Tatsuhiko Miyagawa
On Sat, 12 Jan 2002 10:25:23 + (GMT) Matt Sergeant <[EMAIL PROTECTED]> wrote: > > > > Matt has an idea for doing this with Filter module, instead of > > nasty closures. > > Actually unfortunately I even had code, but it was on my laptop that died. Sad. > I may resurrect the project in time

Re: Exception::Handler

2002-01-12 Thread Matt Sergeant
On Sat, 12 Jan 2002, Tatsuhiko Miyagawa wrote: > On Fri, 11 Jan 2002 17:34:30 -0600 (CST) > Dave Rolsky <[EMAIL PROTECTED]> wrote: > > > > You would have: > > > try { > > > code; > > > } catch FooException with { > > > code for FooExceptions; > > > } catch BarException

Modperl 2.0 error

2002-01-12 Thread The Doctor
Why in this beta am I getting: Script started on Sat Jan 12 02:42:20 2002 doctor.nl2k.ab.ca//usr/source/modperl-2.0$ make cd "src/modules/perl" && make cc -c -I/usr/source/modperl-2.0/src/modules/perl -I/usr/source/modperl-2.0/xs -I/var/www/include -fno-strict-aliasing -I/usr/local/include -DMO

Re: Exception::Handler

2002-01-12 Thread Tatsuhiko Miyagawa
On Fri, 11 Jan 2002 17:34:30 -0600 (CST) Dave Rolsky <[EMAIL PROTECTED]> wrote: > > You would have: > > try { > > code; > > } catch FooException with { > > code for FooExceptions; > > } catch BarException with { > > code for BarExceptions; > > } otherwise {

kylix: rad!

2002-01-12 Thread brian moseley
have you folks seen kylix? http://www.borland.com/kylix/ check out this white paper that describes how to create cgis and modules for apache: http://www.borland.com/kylix/papers/apache_development.pdf kylix looks pretty much like ye olde application framework, just like what many of us have

Re: Exception::Handler

2002-01-12 Thread Tatsuhiko Miyagawa
On Fri, 11 Jan 2002 17:39:33 -0500 "Jay Lawrence" <[EMAIL PROTECTED]> wrote: > For what it is worth - I would encourage you to check out the Error package > as well. Exactly, in fact the module can nicely work with Error.pm. See t/*.t for details ;) -- Tatsuhiko Miyagawa Livin' On Th