From stigliz at gmail.com Thu Mar 24 14:41:55 2005 From: stigliz at gmail.com (Amedeo Guffanti) Date: Thu Mar 24 14:42:03 2005 Subject: [Nomads-pm] Reseach on Open Source Developers Message-ID: Hi, I'm Amedeo Guffanti, a 22 years old Italian student at Bocconi university in Milan, I' m doing a research to write a work about Open Source Movement, in particular, about the developers. I try to collect the opinions of developers like you. My little poll is at this page : http://www.alberocavo.com/OSSprojects.asp It takes less then 4 minutes. I hope the Open Source Communities will give me a help for my research. I apologize for taking your time and for my English that I hope it's understandable ^^ Sincerly, Amedeo Guffanti From mkraus at wilddsl.com.au Tue Mar 29 22:12:17 2005 From: mkraus at wilddsl.com.au (Michael S. E. Kraus) Date: Tue Mar 29 22:12:00 2005 Subject: [Nomads-pm] DBI RaiseError Message-ID: <00eb01c534ef$6cfc2860$3e00a8c0@ho.wildtechnology.net> G'day all... When doing something like the following: use DBI; my $dbh = DBI->connect("dbi:mysql:table:server", "user", "pass", {RaiseError => 1, AutoCommit => 0}); ... ... my @data = $dbh->selectrow_array("SELECT * FROM tablename WHERE a = ? and b = ?", {RaiseError => 0}, @values); I'm guessing that the RaiseError setting for the database connection stays set for all other executions (unless otherwise specified). Is this the case? TIA! :) Mike From brianwisti at yahoo.com Wed Mar 30 11:54:56 2005 From: brianwisti at yahoo.com (Brian Wisti) Date: Wed Mar 30 11:55:09 2005 Subject: [Nomads-pm] DBI RaiseError In-Reply-To: 6667 Message-ID: <20050330195456.57341.qmail@web53602.mail.yahoo.com> --- "Michael S. E. Kraus" wrote: > G'day all... > > When doing something like the following: > > use DBI; > > my $dbh = DBI->connect("dbi:mysql:table:server", "user", "pass", > {RaiseError > => 1, AutoCommit => 0}); > ... ... > my @data = $dbh->selectrow_array("SELECT * FROM tablename WHERE a = ? > and b > = ?", {RaiseError => 0}, @values); > > > I'm guessing that the RaiseError setting for the database connection > stays > set for all other executions (unless otherwise specified). > > Is this the case? > > TIA! :) > > Mike That's always been my assumption over the years ... but ... umm ... I've never actually tested it. Assuming without testing? I'm a bad, bad coder. Naughty programmer! Kind Regards, Brian Wisti http://coolnamehere.com/ From mkraus at wilddsl.com.au Thu Mar 31 16:21:33 2005 From: mkraus at wilddsl.com.au (Michael S. E. Kraus) Date: Thu Mar 31 16:21:19 2005 Subject: [Nomads-pm] Mason, Apache::Request and mod_perl Message-ID: <000f01c53650$c24802f0$3e00a8c0@ho.wildtechnology.net> G'day all... I've installed Mason, and have gone to use it - with Perl complaining that it can't locate Apache::Request in @INC. (OK, this may be just as much a Linux FC3 question as Perl...) So, I fire up the cpan shell `perl -MCPAN -e shell` and execute `install Apache::Request` However the installation fails! ); ); ); It complains that mod_perl < 1.99 is required. I'm using mod_perl 1.99. Has anyone else had this problem, and how did they get on? Thanks heaps! Mike From mkraus at wilddsl.com.au Thu Mar 31 18:47:16 2005 From: mkraus at wilddsl.com.au (Michael S. E. Kraus) Date: Thu Mar 31 18:46:52 2005 Subject: [Nomads-pm] Mason, Apache::Request and mod_perl References: <000f01c53650$c24802f0$3e00a8c0@ho.wildtechnology.net> Message-ID: <004101c53665$1dd23780$3e00a8c0@ho.wildtechnology.net> Ok... I've found my own solution... Under Apache2 (I.e. standard Apache httpd under FC), rather than having something like: ---snip--- PerlModule HTML::Mason::ApacheHandler SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler ---snip--- In the httpd.conf - you need something like the following instead: ---snip--- PerlModule Apache2 PerlModule Apache::compat PerlSetVar MasonArgsMethod CGI PerlModule HTML::Mason::ApacheHandler SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler ---snip--- All the best... Mike