user-pic

David Oswald

  • About: daoswald [a@t] gmail [d0_t] com
Subscribe to feed Recent Actions from David Oswald

  • preaction commented on The problem with CPAN: depending on poorly maintained modules

    I've heard worse stories from Rubyists about backwards compatibility. At the least Perl notifies you if the author of a dist thinks it won't work on your machine.

    There is a procedure to get comaint to apply a patch and do a release, but it requires someone to volunteer, and even to know that they can volunteer. And then it's an arduous process of attempting to contact the maintainer, waiting, and then asking the PAUSE admins for a comaint bit.

    Indeed, it would be better for authors to add ADOPTME to comaint so that the PAUSE admins know they can just give authority out (see:…

  • Max Maischein commented on The problem with CPAN: depending on poorly maintained modules

    Unfortunately, Test::TCP is unlikely to ever work on Windows, as it relies on the fork() emulation and on socket behaviour. While the fork emulation of Perl is surprisingly good, it simply doesn't cover all the behaviour one expects from a unixish perspective.

    The best approach would be to simply leave out the prerequisite and skip the tests on Windows. Most likely, patches for either Test::TCP or Dancer2 are welcome.

    For Coro, the situation is harder. There are changes in the internal structure of Perl that make some workarounds around behaviours in Perl within Coro fail. Fi…

  • Reini Urban commented on The problem with CPAN: depending on poorly maintained modules

    I've fixed Coro for 5.22. It's unauthorized and it doesn't support %SIG handlers for warn and die in coros.

    cpan rurban/Coro-6.4801.tar.gz

    For the other typical unmaintained CPAN modules:
    Check other peoples published distroprefs. This applies the outstanding patches automatically.

    cd ~/.cpan
    git clone https://github.com:rurban/distroprefs.git

    dan golden has some:
    https://github.com/dagolden/distroprefs
    Slaven Rez…

  • john napiorkowski commented on The problem with CPAN: depending on poorly maintained modules

    Part of using CPAN is that you need to put some effort into understanding a module's popularity and any issues around it. For example The Squatting framework doesn't see a lot of love if you look at the revision history, its not seen an update in two years... I don't think its ever become popular AFAIK. Not sure what Modern Perl list mentioned Squatting...

    Coro, the author is clearly very smart but he's not known to play nice with others, so best to avoid. I'd say the same about his Anyevent. If you want to play with event loops and so forth stick to IO::Async, it has an IRC chan…

  • Mithaldu commented on The problem with CPAN: depending on poorly maintained modules

    Test::TCP works fine on windows, it's just the tests that often fall prey to race conditions what are not easily fixed, and may sometimes even seem fixed, but still fail on other systems. Additionally the author doesn't care and often lets pull requests languish.

Subscribe to feed Responses to Comments from David Oswald

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.