Re: Concurreny

2002-05-07 Thread Steven Lembark
> what the DBI policy on concurrency is. "It's a very good thing when it works" would probably sum it up nicely. The mechanism, however, is left up to the underlying database. MySQL implements row locking (I think?). At that point you can get standard-issue read/write lock level concurrency.

Concurreny

2002-05-07 Thread Mark
Hi, I love this DBI stuff; what a very cool interface to my MySQL server! :) I just have question about concurrency. I am currently building an XOVER database for NNTP. Can the program that will update the tables write into them, whilst the actual news server is using them to read from? Or will

Re: DBD:Oracle and DBI stuff

2002-05-07 Thread Tim Bunce
Read README.hpux (I've attached a recent one along with some other stuff). Plus maybe http://www.google.com/search?as_epq=DBD%3A%3AOracle%3A+Exec+format+error Tim. On Tue, May 07, 2002 at 08:01:10AM -0400, Christopher G Tantalo wrote: > Hello everyone. I am just signed up to this list cause we

Re: Help...

2002-05-07 Thread Felix Geerinckx
on Tue, 07 May 2002 13:32:01 GMT, [EMAIL PROTECTED] (Walnut) wrote: > On Wed, 4 Apr 2001 14:58:49 -0700 , you wrote: > >> The address to unsubscribe has an "=" sign in it, and my >> Outlook cuts off the email address there. How do I unsubscribe? >> <[EMAIL PROTECTED] >> > >> Thanx

Re: Help...

2002-05-07 Thread Walnut
On Wed, 4 Apr 2001 14:58:49 -0700 , you wrote: > The address to unsubscribe has an "=" sign in it, and my > Outlook cuts off the email address there. How do I unsubscribe? > <[EMAIL PROTECTED]> > ThanxJP Oh my jolly goodness. Ever thought of a simple cut and paste into a new message (

RE: DBD:CSV

2002-05-07 Thread Gaul, Ken
OK now I am getting DBD::CSV::st execute failed: Missing first row at .CSV.pm line 171, line 1. My CSV contains column headings in the first row, is there something I have to do to handle this? The docs say that that is default behaviour. Thanks Ken. -Original Message- F

DBD:Oracle and DBI stuff

2002-05-07 Thread Christopher G Tantalo
Hello everyone. I am just signed up to this list cause we have a problem with DBI and the DBD:Oracle package. At this company, the admins, DBA's and us programmers are all in separate groups, so it is hard to get things done. I finally broke them down to install perl and a bunch of modules. I

DBD:CSV

2002-05-07 Thread Gaul, Ken
I have just tried to use DBD::CSV and seem to be missing something fundamental I have written a simple select * from table query which seems to return no data. The associated file seems to being read as the NUM_OF_FIELDS in the trace is getting set to 16. I have attached the trace (level 1) if so

Re: Nulls, undef, split and ODBC

2002-05-07 Thread Simon Oliver
Felix Geerinckx wrote: > > > my @data = map {length($_) ? $_ : undef} split(@$row); > > You do realize that you are splitting $_ here? Now I do (I should have stayed in bed this morning). Of course I meant: my @data = map {length($_) ? $_ : undef} @$row; -- Simon Oliver

Re: Nulls, undef, split and ODBC

2002-05-07 Thread Felix Geerinckx
on Tue, 07 May 2002 09:48:39 GMT, [EMAIL PROTECTED] (Simon Oliver) wrote: > my @data = map {length($_) ? $_ : undef} split(@$row); You do realize that you are splitting $_ here? -- felix

Re: problems building AnyData.pm on Red Hat 7.2/Perl 5.6.1

2002-05-07 Thread Scott R. Godin
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jeff Zucker) wrote: > "Scott R. Godin" wrote: > > > > The weird thing is, the same problem occurs even if I push some other > > test in front of the XML test. =:o (tried that last night) > > Scott, there are problems between XML::Twig's file l

Re: Nulls, undef, split and ODBC

2002-05-07 Thread Simon Oliver
> >my @Fields = map {defined($_) ? $_ : undef} split(/,/); > > But this has zero effect. You're turning undef into undef. There is no > undefined value to begin with. It did what he asked to do, but as you say, it is pointless and I should have read it back before posting. I adapted it from an a

Re: Nulls, undef, split and ODBC

2002-05-07 Thread Bart Lateur
On Tue, 07 May 2002 09:11:23 +0100, Simon Oliver wrote: >Michael Blackmore wrote: >> I am trying to avoid doing the following on 80 columns >> >> >> my ($col1,$col2,.) = split(/,/); >> $col1 = undef unless($col1); Turning 0 into undef is OK? I think not. >> > >How about using map

Re: Nulls, undef, split and ODBC

2002-05-07 Thread Simon Oliver
Michael Blackmore wrote: > I am trying to avoid doing the following on 80 columns > > > my ($col1,$col2,.) = split(/,/); > $col1 = undef unless($col1); > How about using map to do it for you? my @Fields = map {defined($_) ? $_ : undef} split(/,/); $sth->execute(@Fields); -- Sim

(Fwd) Is it possible to make work?

2002-05-07 Thread Tim Bunce
- Forwarded message from Maxim Goncharov <[EMAIL PROTECTED]> - Delivered-To: [EMAIL PROTECTED] From: "Maxim Goncharov" <[EMAIL PROTECTED]> To: "Tim Bunce" <[EMAIL PROTECTED]> Subject: Is it possible to make work? Date: Tue, 7 May 2002 03:54:09 +0400 I s it possible? I've built DBI on Li

Re: Is it possible to make work?

2002-05-07 Thread Roland Lammel
Those C libraries are not searched for via the @INC Path from Perl, rather by the underlying OS, so make sure your lib paths are setup up correctly. So on linux libc.so.6 has to be in a path included by ld.so.conf. Normally it is not as easy as just copying the c-libs, as the platform has to be