Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: DBI specification change

by bronto (Priest)
on Jul 16, 2002 at 14:14 UTC ( [id://182087]=note: print w/replies, xml ) Need Help??


in reply to DBI specification change

Don't you think that, since this change is going to break existing code significantly, it should deserve a major change in version numbering also?

Personally, when I upgrade from version n.m to version n.m+1 I expect that nothing differs but bug fixes or minor changes. And, a fortiori, that my programs that ran on n.m will still run flawlessly on n.m+1. I think that many people will fall in the trap of upgrading and finding their (production?) code broken; it is not fair1

Ciao!
--bronto

Note: breaking other's code is not fair, but upgrading without reading release notes is unsafe: I agree!

# Another Perl edition of a song:
# The End, by The Beatles
END {
  $you->take($love) eq $you->made($love) ;
}

Replies are listed 'Best First'.
Re: Re: DBI specification change
by RMGir (Prior) on Jul 16, 2002 at 15:29 UTC
    Bronto, did you see this paragraph? They just changed the spec to match the old behaviour, so if your code worked before (with a Driver.xst-based driver), it'll still work now...

    FYI, this change was triggered by discovering that the fetchrow_array implementation in Driver.xst (used by most compiled drivers) didn't match the DBI specification. Rather than change the code to match, and risk breaking existing applications, I've changed the specification (that part was always of dubious value anyway).
    --
    Mike

      You got a point here.

      My reply, anyway, was triggered by this paragraph of gmax posting...

      I am posting this warning because I have seen some SOPWs where people were using this particular idiom.

      ...and triggered that consideration of mine, which is general and not limited to DBI, that version n.m+1 shouldn't break any code that works with n.m. In case something could be broken, one should choose a new M>>m, obviously IMHO. No attempt to blame to DBI people there ;-)

      Ciao!
      --bronto

      Update: Edited the HTML, misplaced tag

      # Another Perl edition of a song:
      # The End, by The Beatles
      END {
        $you->take($love) eq $you->made($love) ;
      }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://182087]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found