Re: compiling perl on freebsd to support ithreads

2005-04-26 Thread Foo Ji-Haw
Hello Tom, Just to clarify: are you saying that forking is better than threading on windows? Even if it is, I will have to throw in IPC to talk between the forks? Tom Schindl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Foo Ji-Haw schrieb: | Hello Michael, | | Are you saying that Perl wi

Re: compiling perl on freebsd to support ithreads

2005-04-26 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Foo Ji-Haw schrieb: | Hello Michael, | | Are you saying that Perl with ithreads is slower, therefore | implementation of threading on Perl is generally avoided? | | I write apps for both Windows and UNIX platforms. I thought that | iThreads is the bette

Re: win32 binary of RC5 ?

2005-04-26 Thread Foo Ji-Haw
I'm running mp2 RC5 on 2003. No compilation. Just ppm install everything, including the ones from theoryx5. allan juul wrote: hi does anyone run mod_perl 2.0 RC5 on windows server 2003 ? if so, did you compile yourself or did you get a precompiled installer ? ./allan

Re: compiling perl on freebsd to support ithreads

2005-04-26 Thread Foo Ji-Haw
Hello Michael, Are you saying that Perl with ithreads is slower, therefore implementation of threading on Perl is generally avoided? I write apps for both Windows and UNIX platforms. I thought that iThreads is the better alternative to forking, which I think is not well implemented in Windows.

Re: [mp1] segmentation fault in Apache->server->dir_config()

2005-04-26 Thread Stas Bekman
Mike Taylor wrote: I wonder if anyone has any light to shed on this peculiar problem? hmm, I guess there still some people using mp1. This is so unfashionable. Everybody wears RC5 these days :) Last night I rebooted a server that's been running happily for several months, changing nothing. When

Sorry friends

2005-04-26 Thread
Ok, i understand, i'm sorry, it was a fault.

Re: Dates in mod-perl

2005-04-26 Thread Stas Bekman
[EMAIL PROTECTED] wrote: I need to retrieve a date from a database, then i have to calculate six months after this date, i don't have enough time to spend in this, so i´d like to find a module that can do this. Sombody knows any module doing this? Maybe OODateTime or Calendar? I started to seek i

Dates in mod-perl

2005-04-26 Thread
I need to retrieve a date from a database, then i have to calculate six months after this date, i don't have enough time to spend in this, so i´d like to find a module that can do this. Sombody knows any module doing this? Maybe OODateTime or Calendar? I started to seek in CPAN, but there are man

Re: Docs error?

2005-04-26 Thread Ron Savage
Hi Folks >carl was saying that if you put a literal >'http://example.com/foo.pl?foo=bar®=foobar' in your html _that_ is the >cause of the problem - unescaped ampersands in url links are not allowed, so >the literal url in user html should be >'http://example.com/foo.pl?foo=bar®=foobar'. Sorry,

win32 binary of RC5 ?

2005-04-26 Thread allan juul
hi does anyone run mod_perl 2.0 RC5 on windows server 2003 ? if so, did you compile yourself or did you get a precompiled installer ? ./allan

Re: do is not working?

2005-04-26 Thread JupiterHost.Net
Octavian Rasnita wrote: Hi, Hello, I have tried the following test script under mod_perl using ModPerl::Registry handler: use strict; use warnings; my $m = do "/usr/local/intranet/site/modules/markets.ini"; use Data::Dumper; print Dumper $m; The program prints "$VAR1 = undef;" if I run the program

Re: Docs error?

2005-04-26 Thread Trond Michelsen
On Tue, Apr 26, 2005 at 10:31:42AM -0400, Stas Bekman wrote: >>> Since when unescaped & in the QUERY_STRING part of the URL are not allowed? >> I dunno the specifics, but if you try using the w3c validator you end up >> with something like this >> reference not terminated by REFC delimiter >> h

Re: caching problem?

2005-04-26 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] schrieb: | In trying to develop a simple perl script, I have run into some kind of | caching problem which is making development an absolute nightmare. | | The problem arises when I am using a subroutine. Whilst developing the | subrou

Re: caching problem?

2005-04-26 Thread Perrin Harkins
On Tue, 2005-04-26 at 17:40 +0100, [EMAIL PROTECTED] wrote: > Sometimes, if I click refresh several times, it may suddenly decide to > start working again. I can force it to work properly again by renaming the > subroutine! Another way I can force it to start working again is to > restart apache

caching problem?

2005-04-26 Thread tom . kirkpatrick
In trying to develop a simple perl script, I have run into some kind of caching problem which is making development an absolute nightmare. The problem arises when I am using a subroutine. Whilst developing the subroutine, I (obviously) make errors in the code! I try the script out in the browse

Re: Bus error on Mac OS X 10.3.9 while configuring mod_perl-2.0.0-RC5

2005-04-26 Thread OpenMacNews
hi matisse, Thanks - I will try the later mod_perl and apache 2. also, fwiw, my apache2 & perl configs follow; note, in particular, threading ... APACHE2: ./configure \ --enable-layout=custom --with-port=80 \ --with-mpm=worker \ --with-apr=/usr/local/apache2 \ --with-apr-util=/usr/l

Re: Docs error?

2005-04-26 Thread Stas Bekman
Carl Johnstone wrote: I'd suggest rewording the "answer" to something like: In a URL which contains a query string, if the string has multiple parts separated by ampersands and it contains a key named "reg", for example http://example.com/foo.pl?foo=bar®=foobar, then some browser

Re: Docs error?

2005-04-26 Thread Carl Johnstone
OK, in which case it must be some relatively recent change, since an unescaped & in the QUERY_STRING was a valid separator. A pointer to the relevant RFC would be nice so we can add that to the URL that started this thread. Here? http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.htm

Re: libapreq2 2.05

2005-04-26 Thread Philip M. Gollucci
Joe Schaefer wrote: Jonathan Vanasco <[EMAIL PROTECTED]> writes: For that, you won't get the help you need here. Heh :-) i'd suggest posting that, along with the specific versions of freebsd perl and apache2 to the apreq list +1. [...] When I try to install libapreq2-2.05-dev in

Re: libapreq2 2.05

2005-04-26 Thread Joe Schaefer
Jonathan Vanasco <[EMAIL PROTECTED]> writes: > For that, you won't get the help you need here. Heh :-) > i'd suggest posting that, along with the specific versions of freebsd > perl and apache2 to the apreq list +1. [...] >> When I try to install libapreq2-2.05-dev in freebsd, I get the >> f

Re: Docs error?

2005-04-26 Thread Stas Bekman
Steve Hay wrote: Stas Bekman wrote: Geoffrey Young wrote: Since when unescaped & in the QUERY_STRING part of the URL are not allowed? I dunno the specifics, but if you try using the w3c validator you end up with something like this reference not terminated by REFC delimiter http://example.c

[mp1] segmentation fault in Apache->server->dir_config()

2005-04-26 Thread Mike Taylor
I wonder if anyone has any light to shed on this peculiar problem? Last night I rebooted a server that's been running happily for several months, changing nothing. When it came up, all my HTML::Mason-based sites no longer worked, with all requests routed through Mason causing the child server to

Re: libapreq2 2.05

2005-04-26 Thread Jonathan Vanasco
For that, you won't get the help you need here. i'd suggest posting that, along with the specific versions of freebsd perl and apache2 to the apreq list http://httpd.apache.org/apreq/ [EMAIL PROTECTED] - discusses libapreq development http://marc.theaimsgroup.com/?l=apreq-dev&r=1&w=2 - list archi

Re: Docs error?

2005-04-26 Thread Steve Hay
Stas Bekman wrote: >Geoffrey Young wrote: > > >>>Since when unescaped & in the QUERY_STRING part of the URL are not allowed? >>> >>> >>I dunno the specifics, but if you try using the w3c validator you end up >>with something like this >> >> reference not terminated by REFC delimiter >> >>

Re: Docs error?

2005-04-26 Thread Stas Bekman
Geoffrey Young wrote: Oh, I see, I thought you were talking a bug in the docs building system. But if you write: 'http://example.com/foo.pl?foo=bar®=foobar'. There is no problem whatsover. Since there is no ® here. exactly :) Since when unescaped & in the QUERY_STRING part of the URL are not

Re: Docs error?

2005-04-26 Thread Geoffrey Young
> Oh, I see, I thought you were talking a bug in the docs building system. > > But if you write: > > 'http://example.com/foo.pl?foo=bar®=foobar'. > > There is no problem whatsover. Since there is no ® here. exactly :) > > Since when unescaped & in the QUERY_STRING part of the URL are no

Re: Docs error?

2005-04-26 Thread Stas Bekman
Geoffrey Young wrote: Beg your pardon? Have you looked at the HTML source code? it goes: http://example.com/foo.pl?foo=bar®=foobar";>http://example.com/foo.pl?foo=bar®=foobar I think what carl was saying was that the source of the bug in the discussion was incorrect, not in how we render the

Re: compiling perl on freebsd to support ithreads

2005-04-26 Thread Philip M. Gollucci
Michael Peters wrote: Foo Ji-Haw wrote: Hello Philip, One of the biggest complaints I hear (and voice) is that the linux distros ship a perl with ithreads. It's slower and almost noone wants or needs it. It looks like FBSD is doing what the majority of people want it to do, so I wouldn't knock it :

libapreq2 2.05

2005-04-26 Thread Cure
When I try to install libapreq2-2.05-dev in freebsd, I get the following error --> parser.c:84: error: syntax error before '*' tokenparser.c:84: warning: data definition has no type or storage class*** Error code 1Stop in /usr/home/rack/perl/libapreq2-2.05-dev/library.*** Error code 1 I got

Re: Docs error?

2005-04-26 Thread Geoffrey Young
> Beg your pardon? Have you looked at the HTML source code? it goes: > > href="http://example.com/foo.pl?foo=bar®=foobar";>http://example.com/foo.pl?foo=bar®=foobar I think what carl was saying was that the source of the bug in the discussion was incorrect, not in how we render the page o

Re: compiling perl on freebsd to support ithreads

2005-04-26 Thread Stas Bekman
Michael Peters wrote: Foo Ji-Haw wrote: Hello Philip, You are suggesting that FBSD 4.x is not easy to compile ithreads via ports. I wonder why FBSD even on 5.x does not come with ithreads precompiled (Linux does!). But I find it quite a deterent to use FBSD for multiple apps in the future. One of

Re: do is not working?

2005-04-26 Thread Stas Bekman
Octavian Rasnita wrote: Hi, I have tried the following test script under mod_perl using ModPerl::Registry handler: use strict; use warnings; my $m = do "/usr/local/intranet/site/modules/markets.ini"; use Data::Dumper; print Dumper $m; The program prints "$VAR1 = undef;" if I run the program running

Re: Docs error?

2005-04-26 Thread Stas Bekman
Geoffrey Young wrote: Carl Johnstone wrote: On: http://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html It talks about browsers misreading URLs like: http://example.com/foo.pl?foo=bar®=foobar Presuming this is within a HTML page e.g.: http://example.com/foo.pl?foo=bar®=foobar";> .

Re: Can't find module

2005-04-26 Thread Geoffrey Young
> But if I run it using mod_perl, it tells that it cannot find the module > BMFMS.pm even though that module is there in that directory and has 755 > permissions. you need to make sure that all of the directories leading up to that module have the appropriate permissions as well. this is also mo

Re: Docs error?

2005-04-26 Thread Geoffrey Young
Carl Johnstone wrote: > > On: > http://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html > > > It talks about browsers misreading URLs like: > > http://example.com/foo.pl?foo=bar®=foobar > > Presuming this is within a HTML page e.g.: > > http://example.com/foo.pl?foo=bar®=f

Re: compiling perl on freebsd to support ithreads

2005-04-26 Thread Michael Peters
Foo Ji-Haw wrote: > Hello Philip, > > You are suggesting that FBSD 4.x is not easy to compile ithreads via > ports. I wonder why FBSD even on 5.x does not come with ithreads > precompiled (Linux does!). But I find it quite a deterent to use FBSD > for multiple apps in the future. One of the bigge

Can't find module

2005-04-26 Thread Octavian Rasnita
Hi, I have seen the following error in the error log: [Tue Apr 26 14:44:53 2005] [error] Can't locate BMFMS.pm in @INC (@INC contains: /usr/local/intranet/site/modules /usr/local/lib/per l5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/i686-linux /usr/local/lib/

Docs error?

2005-04-26 Thread Carl Johnstone
On: http://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html It talks about browsers misreading URLs like: http://example.com/foo.pl?foo=bar®=foobar Presuming this is within a HTML page e.g.: http://example.com/foo.pl?foo=bar®=foobar";> ... then the actual problem is that the & has

Re: Apache mod_perl

2005-04-26 Thread Shannon Eric Peevey
Gert Jan Schipper wrote: Hi All, I didn't found anything about this problem on the Internet, to use AuthenNTLM in combination with mod_perl-2.0.0-RC5. Nobody answers on below question. Does anybody know is it possible to use this combination. AuthenNTLM is looking for mod_perl but on my system I ha

do is not working?

2005-04-26 Thread Octavian Rasnita
Hi, I have tried the following test script under mod_perl using ModPerl::Registry handler: use strict; use warnings; my $m = do "/usr/local/intranet/site/modules/markets.ini"; use Data::Dumper; print Dumper $m; The program prints "$VAR1 = undef;" if I run the program running mod_perl. It print

Re: reading post data.

2005-04-26 Thread Philip M. Gollucci
Dermot Paikkos wrote: Does that mean there is no performance penalty or other price for using CGI instead of libapreq? I've done know benchmarks, but I'd be hard pressed to find anycase where XS code is slower then PERL code. libapreq2 is a thin PERL wrapper around the C interfaces written in XS

Re: reading post data.

2005-04-26 Thread Dermot Paikkos
On 23 Apr 2005 at 16:16, jonathan vanasco wrote: > RC5 is slightly different from the namespace stuff, and you need to > run one of the svn branches of libapreq -- either trunk or multi-env > -- its under active development right now > > personally, i think libapreq is the best way to read GET/

RE: Apache mod_perl

2005-04-26 Thread Gert Jan Schipper
Hi All, I didn't found anything about this problem on the Internet, to use AuthenNTLM in combination with mod_perl-2.0.0-RC5. Nobody answers on below question. Does anybody know is it possible to use this combination. AuthenNTLM is looking for mod_perl but on my system I have only mod_perl2. How c