Re: DBI, savepoints, transactions, and AutoCommit -- NOT A BUG

From: felix(at)crowfix(dot)com
To: PGSQL-Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: DBI, savepoints, transactions, and AutoCommit -- NOT A BUG
Date: 2011-11-03 00:39:20
Message-ID: 20111103003920.GI5551@crowfix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Wed, Nov 02, 2011 at 08:23:09PM -0400, Daniel Staal wrote:
> --As of November 2, 2011 4:53:18 PM -0700, felix(at)crowfix(dot)com is alleged to

> ># !/usr/bin/perl -w
>
> As the Perl guy at my office: You *do* know the difference between this and
> 'use warnings;', right? And why the latter is almost always what you want?
> (Sorry, it's one of those things I've learned to jump on, as it's often
> just Cargo Cult Programming...)

It's been ages since I settled on -w instead of use warnings. I know
there's a difference, I have some vague recollection of -w being
"better", whatever that means, but it's one of those things that I
have "known" for so long that I no longer know what I once knew :-)
All my perl books -- scratch that, I just googled for it. -w is all
or nothing, and especially it enables warnings for modules which might
be better off without warnings. So it says.

But that advice seems a mite stale nowadays. It says use warnings was
introduced in 5.6, so any older modules will possibly barf, or any
newer modules which turn warnings off for their own reasons. So why
would I care about this now? I don't recollect any untoward warnings
in years of programming Perl.

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix(at)crowfix(dot)com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message felix 2011-11-03 17:47:57 Re: DBI, savepoints, transactions, and AutoCommit -- NOT A BUG
Previous Message Daniel Staal 2011-11-03 00:23:09 Re: DBI, savepoints, transactions, and AutoCommit -- NOT A BUG