Re: Current working directory always "/"

2008-05-22 Thread Foo JH
Hello Perrin, I would think that threads are more important to Win32 Perlies than their Linux counterparts. To me, I use threads as often as I can to maximise performance and scalability. To conclude, I can't agree with your statement that people don't use threads. william wrote: On 5/21/0

Re: [OT] Solaris + Apache 2.2 / PHP 5 cluster config help

2008-05-22 Thread Jonathan Vanasco
On May 22, 2008, at 1:14 PM, Perrin Harkins wrote: The module I'm presenting at YAPC::NA and OSCON this year, DBIx::Router, will make it easier to add this kind of partitioning after the fact. It lets you set up rules to choose which database to send a query to. When I have a public prototype

Re: Current working directory always "/"

2008-05-22 Thread Perrin Harkins
On Thu, May 22, 2008 at 5:50 AM, william <[EMAIL PROTECTED]> wrote: > Btw, could you tell me how does full paths increase security ? It prevents some attacks based on tricking your application into working on different files. If you don't assume a certain working directory, you won't be compromis

Re: [OT] Solaris + Apache 2.2 / PHP 5 cluster config help

2008-05-22 Thread Perrin Harkins
On Wed, May 21, 2008 at 7:32 PM, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > personally, i think one should always architect applications with separate > DB handles for read/write/log/session at the outset. you can essentially > make them 'one' handle until necessary... but it takes barely any t

Re: Current working directory always "/"

2008-05-22 Thread william
On 5/21/08, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, May 21, 2008 at 10:28 AM, Philip M. Gollucci > <[EMAIL PROTECTED]> wrote: > > You should almost always use full paths to files, think of threads. > > > This is true in a module you plan to distribute on CPAN, but for local > use you

Yet another interface to SWI-Prolog in mod_perl

2008-05-22 Thread william
I am trying to run the Yaswi http://search.cpan.org/~salva/Language-Prolog-Yaswi-0.14/Yaswi.pm module in mod_perl, use CGI qw(:standard); print header; use Language::Prolog::Yaswi qw(:query :run); use Language::Prolog::Types::overload; use Language::Prolog::Sugar functors => { equal => '=',