brian d foy

  • Website:
  • About: I'm the author of Mastering Perl, and the co-author of Learning Perl (6th Edition), Intermediate Perl, Programming Perl (4th Edition) and Effective Perl Programming (2nd Edition).
Subscribe to feed Recent Actions from brian d foy

  • whirlyperly commented on Your benchmarks suck!

    Dumbbench doesn't seem to be very well maintained anymore.

  • Ron Savage commented on Smartmatch in 5.27.7

    I didn't mean there was shortage of commentary, just a shortage of commentary having our desired effect.... Bit like auto-deref, actually :).

  • Aristotle commented on Smartmatch in 5.27.7

    Yes, autoderef came to my mind as well.

  • smls commented on Smartmatch in 5.27.7

    Maybe documenting some rationale for at least "whereso" would help

    It's probably inspired by the so function from Perl 6, which simply coerces its argument to Bool - like the not function but without the negation.

  • ronw commented on Smartmatch in 5.27.7

    I think that smart match tried to do too much. the use I had for it was "when" to allow for a more flexible "switch" construct than using a mix of "nswitch", "sswitch" and "rswitch" (and variations, as provided by various CPAN modules).

    Things like "appearing as a value in an array", and other complexities, would be better accomplished by their own operators or functions.

Subscribe to feed Responses to Comments from brian d foy

About 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.