

shlomif_tech

[ shlomif ]

It seems I didn't announce it here, but Test-Run version 0.0120 was converted to Moose, the postmodern object system for Perl 5. After I uploaded all 0.0120-related modules, I was looking for more Moosification, and decided to try and convert runprove to MooseX-Getopt, while still passing all tests. After a lot of playing with the has attributes to get them I ran into what appeared to be a problem which I could not overcome: I could not configure it not to use Getopt-Long-Descriptive, in case it found it was installed. I didn't want to use it, because I wanted my help display. After talking about it on #moose, I was told that it is indeed a limitation. I decided to fix it and did it by adding a new parameter. However, t0m told me that I should do it by extracting the non-GLD dependent functionality into a separate role, and doing it. I did it, and he had some further comments which I incorporated into my MooseX-Getopt repository. My enhancements are not in the CPAN module yet, but they are going to be soon. And I'll leave you with a #perl discussion about Chuck Norris: <Su-Shee> 2010 is planned more or less as a refactoring year. <DrForr_> A whole *year*? What physical plane of existence do you reside on? <Su-Shee> DrForr_: there's also bugs to fix and systems to care for and things like that. it's not that we're locked into the closet and a year later a new, shiny product is released. ;) <DrForr_> Closet optional. <Su-Shee> I'm not a wonderwoman refactoring half a million lines of perl in a week, sorry. :) <rindolf> Su-Shee: Chuck Norris refactors 10 millions lines of perl before lunch. <Su-Shee> rindolf: hm. that's the reason.. I'm not as hairy as chuck norris and I don't have a beard... <rindolf> Su-Shee: ah. <rindolf> Su-Shee: Chuck Norris also wrote a complete Perl 6 implementation. <Su-Shee> rindolf: I heard, he already wrote Perl 7. <rindolf> Su-Shee: yes. * rindolf wants to be as awesome as Chuck when he grows up. <Su-Shee> rindolf: I envy you. I'll never be as awesome without a beard. <rindolf> Su-Shee: heh. <rindolf> Su-Shee: it doesn't matter if you're rigid on the outside as long as you're rigid on the inside. <Su-Shee> chuck norris doesn't make mistakes. <rindolf> Su-Shee: Chuck Norris corrects God. <Su-Shee> rindolf: I'll apply as his secretary. <rindolf> Su-Shee: as Chuck's? <Su-Shee> rindolf: yes. <rindolf> Su-Shee: OK. <rindolf> Chuck Norris doesn't code. When he sits next to a computer, it just does whatever he wants. <Su-Shee> I'll tell my boss tomorrow. Chuck is who he wants. <rindolf> Su-Shee: Chuck Norris is his own boss. <rindolf> Su-Shee: if you hire him, he'll tell your boss what to do. <Su-Shee> good point.