OSCON: Monday Afternoon

For Monday afternoon, I was signed up for Advanced DBI by Tim Bunce, but after the break decided to switch to Presentation Akido. Looks like Kevin did something similar. :-)

Advanced DBI had some interesting nuggets, in particular:

  • connect_cached() & prepare_cached() do what you’d expect & are good things. Not sure how long these have been around, but I’m guessing a while. Regardless, no more need for global $dbh’s or implementing my own $sth cache.

  • DBI has some solid profiling built in. By setting the DBI_PROFILE env. var. you can enable it to various levels. Setting it to ‘1′ will give you a summary for the script, ‘2′ for a breakdown by statement, etc. Lots more details in the perldoc.

Presentation Akido, also by Damian Conway, was outstanding. It’s clear how much attention and effort gives to be a good speaker and was very insightful to learn a lot of his tricks & methods. The best analogy I can make here is when you were first learning bash & stumbled across a guru’s .bashrc.

Overall, first day was pretty interesting.

2 Responses to “OSCON: Monday Afternoon”

  1. Bill Says:

    DBI rules.

  2. Dude Says:

    DBI is da bomb, yo.

Leave a Reply