user-pic

brian d foy

  • Website: www.theperlreview.com
  • 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).
  • Posted CPAN Cleaning Day 2457044: Compiler::Lexer to brian d foy

    In my quest to clean up my CPAN distributions and to normalize them, I've been working on CPAN::Critic, my unreleased tool that looks at my directory and complains about things I don't like. That's going nicely for the most part, but I ran…

  • Commented on What should be in a CPAN distro README?
    Having a README doesn't make it useful, and I doubt many people actually read what we provide, especially when so many better resources are available....
  • Commented on Can you provide an x/y Point class in other languages?
    I think Damian makes the mistake most people do when criticizing a language. They conflate the language itself with the stupid libraries and idiotic ecosystem. It's not the syntax and design of the language that makes it so and I've...
  • Posted What should be in a CPAN distro README? to brian d foy

    Most of my READMEs are lame. I have stuff that no one will really ever use. As I'm cleaning up my distros, I starting thinking about what should be in there. To do that, I have to think about the people who would read such a thing.

    A long time ago in an internet far, far away, RE…

  • Posted My CPAN Cleaning, Day 2457034.500000 to brian d foy

    I've been playing with the Makefile.PL modulino idea this week as part of my CPAN cleaning. It's dangerous to have so much fun because I'll…

  • Commented on Can you provide an x/y Point class in other languages?
    This is one of the examples I like to talk about in my bad examples rant during Intermediate Perl classes. Everyone thinks the Point class is simple, but here you're giving it a default value that it doesn't deserve and...
  • Commented on The sad story of pseudohash criticism
    To be fair, mjd is often purposefully provocative and he commits to his idea to get people to think deeply about what they are doing. However, I think he's fairly well behaved in this talk and I don't see the...
  • Posted CPAN Cleaning Day 2457027: Changes and README to brian d foy

    I spent another day of prosaic adjustments to my CPAN distributions. For quite awhile the chaos of the Changes and README files have bothered me, so I wanted to think about those. And, many of the files I scheduled for deletion disappeared from PAUSE today.

    I'd like Change…

  • Commented on My CPAN Cleaning, Day 2457025.500000
    App::GitGot looks interesting, but I couldn't get it to install. Something with Mouse went wrong, and as much as it sucks to say it, I don't bother fixing anything when it's a Moose or Moose variant problem. I don't even...
  • Posted My CPAN Cleaning, Day 2457025.500000 to brian d foy

    My second day of CPAN Cleaning was just the sort of work that I like: organizing a chaotic mess into something I can work with. My CPAN distributions are a mix of almost everything I've done in my history as a CPAN author. There…

  • Posted My CPAN Cleaning, Day 2457023.500000 to brian d foy

    Read my other entries in "cpan cleaning"

    With some encouragement from Neil Bowers, I'm tidying up my CPAN footprint. Over the years I've collected modules I did not …

  • Posted Saint Perl 6 Hack Day wrap-up to brian d foy

    Saint Perl 6 started with its hack day instead of putting it at the end. I can summarize some of the proceeding, but some of the end-of-day reports were delivered in Russian. Someone else will have to fill in the blanks.

    I mentioned my …

  • Posted CPAN Testers from Github? to brian d foy

    At the pre-Saint Perl 6 dinner, we were talking about ideas for the hack day. I mentioned something David Farrell and I had talked about a couple of weeks ago.

    I'd love to kick off CPAN testers from Github. Instead of uploading a dev ve…

  • Posted The 2014 White Camel Awards to brian d foy

    In the lands where the camel roams, the white camel is a rare and revered individual. Each year, The Perl Foundation recognizes significant non-technical achievement in Perl with the White Camel…

  • Posted My Perl recruitment thoughts to brian d foy

    Dave Cross posted his Perl Recruitment Thoughts, which led to the same tired responses we see every time someone is frustrated enough to bring it up. Again. In the past decade I've written this post about every six months,…

  • Commented on I want Package BLOCK syntax return 1.
    You return a true value at the end of the file so the require knows that everything happened. It has nothing to do with being a module or a package. We talk about this in Intermediate Perl....
  • Commented on Nominate Perl heroes for the 2014 White Camel Awards
    As it's a Perl Foundation award, we tend not to give them to people currently working inside TPF....
  • Posted Nominate Perl heroes for the 2014 White Camel Awards to brian d foy

    We're looking for nominations for the 2014 White Camel Awards that recognize significant non-technical achievement in Perl and its community. Each year we recognize work in the broad categories of community, advocacy, and user groups.

  • Commented on Test::More has lots of crazy new development that's breaking my modules
    Tell that to the people who see the number of PASSes and FAILs. It's not just "nice" to see a field of green. It's not that I'm upset that it's not perfect. People see these numbers, make judgements, and decide...
  • Posted Test::More has lots of crazy new development that's breaking my modules to brian d foy

    I still wish we had a way to remove reports from CPAN Testers. The case of a broken Test::More is a really good reason for this.

    I received many fail reports for Business::ISBN, which I've been working on lately. Howeve…

  • Commented on Logically And Yourself (&&=)
    I love interesting behavior with the binary assignments. This one is quite nice. I expanded this benchmark in a gist (ouch.pl). There are a few things to note. 1. These sorts of benchmarks often show the performance in a particular...
  • Commented on Revitalizing the Perl Power Tools
    Well, I'd prefer that we only include working programs, so until vip isn't hugely buggy and works as advertised we can put it in there. If it has major problems, perhaps we should wait. I'd suggest moving it to Github...
  • Commented on Revitalizing the Perl Power Tools
    I'll started a list of opportunities in Github Issues. If you think that there are other things you could do, add an issue. If there's something you think you can do, work on that. If you have some ideas, add...
  • Commented on Revitalizing the Perl Power Tools
    There's much to do that doesn't need great Perl skill. Most of the code is already written, so you don't have to create it. I would like to standard the code across all of the programs, and add consistent documentation...
  • Commented on A quick static file webserver
    I’d modified Joel’s script to include a default index file by using a before_dispatch hook. It could probably be better, but I stopped when I got it to work. I needed this for a particular project so I haven’t stopped...
  • Posted Revitalizing the Perl Power Tools to brian d foy

    I've started revitalizing the Perl Power Tools. I love this project, also known as the Unix Reconstruction Project, but there's been a some bit rot and I think we can make it easier to find. Googling "PPT" means so many other things,…

  • Posted 2014 Swiss Perl Workshop redux to brian d foy

    The Swiss Perl Workshop did not disappoint, although as a featured speaker there was plenty to worry about. One of the organizers, Matthias Bloch, was well trained to take care of the chaotic situation of herding cats and programmers. He was a trained primary school instructor, in which he…

  • Commented on Public 0 is the new Inbox 0
    I thought part of Inbox 0 was simply deleting all the undealt with messages and thinking that anything that's important will be re-submitted. :)...
  • Commented on how to add switches to a perl program like plackup or dzil
    I need to do this frequently because some people insist on using /usr/bin/env in the shebang line to find the first perl installed instead of using the one the installed it. perl5.20.0 `which mojo` ......
  • Posted The Whitespace in the Perl Community to brian d foy

Subscribe to feed Recent Actions from brian d foy

  • Aristotle commented on Can you provide an x/y Point class in other languages?

    Thanks for giving me a vain motivation to finally finish designing and write Object::Properties, which I’ll be releasing to CPAN shortly. :-)

    package Point {
        use Object::Properties '+x' => \&_check, '+y' => \&_check;
        use overload '""' => \&Str, fallback => 1;
        use Carp ();
    sub new { my ( $class, $x, $y ) = @_; $class->NEW( x => $x // 0, y => $y // 0 ); }
    sub _check { my ( $self, $value ) = @_; Carp::croak "'$value' is not a real number between -1…
  • Ovid commented on Can you provide an x/y Point class in other languages?

    brian, your point about the default value is well taken. Thanks.

    For the Java comments, I'll leave that to Damian, but I'll add this: I've sat in those Java classes and it's a bloody nightmare with students either trying to juggle tons of new concepts at once, or cargo-culting everything and hoping they pick it up later. And there is a point where verbosity matters. I was working in COBOL on a 150 line procedure that was hard to unravel, but after I cleaned it up, I only got it down to 80 lines, as opposed to 10 lines of …

  • jjn1056 commented on What should be in a CPAN distro README?

    I tend to just use the readme to mirror the main pod docs. Since I stick everything on github that makes it easy for anyone that is looking on github to figure out what the module is about. on the other hand I was thinking maybe it would be better if it have more install instructions or something.

  • hank.sola commented on What should be in a CPAN distro README?

    README files (IMO, and in general - not Perl specific) have been the thing that explains what a directory contains, and what to do to make it useful (e.g. build instructions).

  • ivan.wills commented on What should be in a CPAN distro README?

    I have been doing some playing with node modules recently, in that space the README files generally are quite useful giving a description of the module and some comments on installing and usage description. This isn't as useful for CPAN modules as we have good documentation in metacpan where as npm.org is somewhat lacking (go POD).

    When I have come to trying to contribute to the node or perl modules though I tend to be looking at github not metacpan or npm.org so their better README is helpful. I have noticed the fondness of dzil users to not have README files is some what depressing…

Subscribe to feed Responses to Comments from brian d foy

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 run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.