Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
You ever have days where where you stare at code that has absolutely nothing wrong with it and you try to figure out why it's not working?
eval { "use $factory_class" };
I blew about five minutes trying to figure that out. What's worse, it was throwing a warning, so I made that go away.
no warnings 'void';
eval { "use $factory_class" };
Yeah, real impressive coding there. Were it not for my test suite, that would have passed silently into production.
Join the club, get the jacket (Score:2)
Re:Join the club, get the jacket (Score:2)
Of course, that just led me to a bug in the docs which incorrectly identifies the attribute as autodump. I need to go fix that.
Or, if you're like me and you set up editor bindings to spit out boilerplate quickly, then you won't mind this interface:
Re: (Score:1)
I just wasted days on one where MySQL told me I had a syntax error in my query, which I clearly didn’t. The problem was in
$sth->execute( map $cgi->param( $_ ), @paramname );– can you spot it?Re: (Score:2)
Erm, not quite sure. Could it be a list context issue where you have list elements dropping out or extra elements getting inserted?
Re: (Score:1)
Exactly. I had to bung an extra
scalarin there, à laI failed to see the problem for days even though I had done this correctly in every other instance of this snippet.