Just reading Brent Laabs post on Porting a Module to Perl 6 and two things occurred to me. The first was that I should start getting into Perl 6 sooner rather than later and get the few modules I'm involved with changed over, ready for the big day.
The second and more important one is that, if I'm to assure myself that the module behaves in the same way as the Perl 5 module, the original tests need to pass. I would have invested much on those tests to verify the module works the way I think it should. …
It's a snow day and time to play. I have a cow orker who prefers to write all the business logic in SQL because he hasn't moved on from what he learnt in the 80's. Nice guy, but I suspect he has a hearing deficiency because he never listens to what I have to say (or he's got a nasty case of NIH). Yesterday, he happened to be getting on my last nerve, but that no longer matters for I will have sweet, sweet Revenge.
Today I started playing with dbic.
In my case, it went very well with Fideos de Sepia and a nice glass of Fina Enguera.
This is not really a review of Dave's Perl School. His style is competent, informative, sometimes entertaining and pitched right at my level of Perl. Unlike the Moose school I went to in December, this lecture could have gone on for another hour discussing the finer points, but people have lives and we finished at 5pm.
This is more a bit of navel-gazing about what DBIx::Class might mean to me.
Looking forward to Dave's PerlSchool on Saturday. I was satisfied with the format of his Moose school and found myself going back through the notes for how to set a default hashref for an attribute. Got me thinking of how I could really use a cheat sheet. There's a lot of documentation for Moose, certainly enough to get you started, but it saves time if somebody sits down and organizes the information into a flowing story with just enough examples to suggest some use cases. At the other extreme,…
Does Moose eliminate the sin of False Impatience* by making it so damn easy to just add a dash of OO to your script in order to avoid messing around with data structures? That's how I've started, so there's bound to be a few contusions as I find the corners of my own ignorance, digging out the notes from Dave Cross' most excellent Perl School on the subject. It's not pretty, but it gets the job done.
This is a story about how hacking away at a script taught me some things that I should have known.