user-pic

Toby Inkster

  • Commented on The dream of "use 7;"
    This is even what perl -v says: This is perl 5, version 20, subversion 1 (v5.20.1) built for x86_64-linux-thread-multi...
  • Commented on The dream of "use 7;"
    Many people who want to be able to increment major versions for Perl have now compromised and decided that the second part of the version number is the major version. So the current stable Perl is "Version 20.1 of the...
  • Commented on Of course you can `requires` attributes!
    It works in Moo, but there are some bugs with requires and attributes in Moose. Demonstration... use v5.14; package AAA { use Moose::Role; requires 'b'; has 'a' => (is => 'ro'); } package BBB { use Moose::Role; requires 'a'; has...
  • Commented on mop minus proposal
    There are a lot of class/role frameworks, but the decision making process for which to use is actually very simple: Start with Moo, and if you outgrow it, use Moose. You can mostly forget about the others. Also there's Moops...
  • Commented on mop minus proposal
    Parse::Keyword has issues, but it is possible to work around them. (And I don't think Yuki Kimoto's code triggers the problems in Parse::Keyword anyway.)...
  • Posted Quick post-LPW roundup to Toby Inkster

    I've just arrived back from the London Perl Workshop. Lots of very interesting stuff. A big thank you to the organizers! I especially liked:

  • Extending Syntax - Functional Programming m…
  • Commented on Tonight’s folly
    Well, this is quite pretty: my @new = map { s/foo/bar/r } @old; Compared with the old way: my @new = map { (my $tmp = $_) =~ s/foo/bar/; $tmp } @old;...
  • Commented on Book Report - October 2014
    Just a couple of minutes after writing this blog entry, I got an e-mail saying my talk has been accepted. Yay!...
  • Posted Book Report - October 2014 to Toby Inkster

    This month has been quite a busy one for me, so I haven't had much chance to work on my (in-progress) book. However, I have had some time to start work on a short talk for London Perl Workshop 2014

  • Commented on Where is Brent?
    Have you tried contacting him via Columbia University, who are his present employers according to LinkedIn?...
  • Commented on A fast pragmatic test runner
    I wonder if this could be achieved with a lockfile of some kind? Test files that work in parallel try to open a shared lock on a particular file (say t/lock), and wait until they obtain the lock. Test files...
  • Commented on A most amusing annoyance
    In most (all?) Unix shells, a parameter can be partly quoted. For example: echo 'foo'bar'baz' will print out "foobarbaz". It is this feature that allows parameters like --foo="bar baz" to work, so it's a valuable feature. Anyway, with your command,...
  • Commented on Which modules are currently loaded by process?
    I like Devel::TraceUse. I've used it a lot developing Type::Tiny to help me figure out where I'm unnecessarily loading modules. However, unless I've missed a feature it does not tell you the full path of each module that has been...
  • Commented on Synchronizing Opera bookmarks with Perl, Org, and git
    I use Opera 12 on Linux. You know it has the ability to export bookmarks as HTML, using the same format Netscape used to use many moons ago. I believe it is mostly round-trippable....
  • Posted Exporter::Tiny nearing 1.000000 to Toby Inkster

    Yes, in my warped mathematics, 0.042 is nearly 1.000000.

  • Posted Planet Moose - September 2014 to Toby Inkster
  • Posted Book Report - September 2014 to Toby Inkster

    As you may be aware, I'm writing a book which will eventually become a free e-book. (Oh how I'm beginning to hate the e- prefix on everything vaguely related to computers. Or should I call them…

  • Commented on CPAN Testers & pre-requisite reporting
    The problem with these proposed solutions is that they assume that the release at fault is always going to be a trial one. I could release a seriously broken version of Exporter::Tiny as a stable release, and break a couple...
  • Commented on Event::Lib
    I'd suggest releasing 1.04 to CPAN straight away. As you're not the maintainer, it won't be officially indexed, so people won't be able to install it using: cpan Event::Lib Instead they'll need to install it like: cpan CRUX/Event-Lib-1.04.tar.gz Then, if...
  • Commented on Test::More has lots of crazy new development that's breaking my modules
    Exodist is making a lot of changes to the Test::More guts, which will hopefully lead to a much better Test::More. The aim is that the result should eventually be API-compatible with older Test::More. Because of the major changes, he's rightly...
  • Commented on Logically And Yourself (&&=)
    This is because the eval block isn't getting executed after the 4th iteration in your &&= case. You're effectively almost short-circuiting the loop. You could achieve a similar effect by inserting next unless $is_proofed; before the eval block in your...
  • Posted Object::Util to Toby Inkster

    I've recently released a new module called Object::Util to CPAN. This is a set of handy methods for working with classes and objects in Perl. It is inspired by

  • Commented on Install XML::LibXML without root
    The gist of how to patch XML::LibXML's Makefile.PL can be found in this ticket....
  • Commented on Install XML::LibXML without root
    A while back I created Alien::LibXML that installs a copy of libxml2 into one of your @INC paths. If you can install Perl modules, you can install it. Submitting a patch to XML::LibXML's Makefile.PL to check for Alien::LibXML has been...
  • Commented on Some new MetaCPAN features
    I really like the new version of the dashboard. Some suggestions: The bug counts could be a link to the issue tracker. Rather than using an "X" is those three centre columns, maybe use "R", "L", and "A". This is...
  • Commented on How does <email>@cpan.org work?
    The potential problem with them forwarding all mail unflitered to your primary e-mail address so that you can filter it, is that if you're filtering it yourself, you've lost out on one of the best ways to filter spam: originating...
  • Commented on Single-page POD for a distribution
    All versions of Opera prior to version 15 can do split screen....
  • Commented on Link to public version control system (GitHub or otherwise)
    A big improvement!...
  • Commented on Data::Dumper Debugging
    Yowch! Anyway, the first thing I do on any new Unixy box is: chsh -s `which tcsh` `whoami`...
  • Commented on I hate unpacking sub calls with shift
    Generally speaking I use shift for the invocant of method calls, or arguments I consider to be especially privileged. (If those arguments happened to be at the end of @_, I'd use pop, but that's not often the case.) Other...
  • Subscribe to feed Recent Actions from Toby Inkster

    • fibo commented on Of course you can `requires` attributes!

      I noticed the issue and I trusted in developers desgin, so I supposed the right way was to put attributes in the MyRole package.

      If an attribute needs some method in its builder or default sub, it can be added in the requires list. For example you can require the builder sub.

    • fluca1978 commented on The dream of "use 7;"

      While I agree that Perl 5 and 6 are different languages, I strongly disagree that versioning should be parallel.
      I believe people will get even more confusing of seeing that Perl 5.20.1 is in the future than Perl 6.1.5.
      The language is Perl, the implementation is either 5 (production ready) or 6 (almost production, allow me).
      This reminds me the numbering of PostgreSQL, where the first digit is the "scope" release, the second number is the major version and the third is the minor one.

    • Luca Ferrari commented on mop minus proposal

      While I appreciate the effort, I cannot understand why another OOP support when there already a lot, and with a very good implementation (Moose being probably the most adopted).

    • Yuki Kimoto commented on The dream of "use 7;"

      Toby Inkster

      >Many people who want to be able to increment major versions for Perl have now compromised and decided that the second part of the version number is the major version.

      This is strange thinking in Perl core team. perl is not perl 5 language. perl is perl language.

      perl 1 is perl language. perl 2 is perl language. perl 3 is perl language. perl 4 is perl language. perl 5 is perl language.

      1, 2, 3, 4, 5 is not language name. This is major version number. This is natural thinking in outside of Perl community.

      If this problem is not resolved, o…

    • Yuki Kimoto commented on The dream of "use 7;"

      fluca1978

      >This reminds me the numbering of PostgreSQL, where the first digit is the "scope" release, the second number is the major version and the third is the minor one.

      This is OK because PostgreSQL can new scope release. Problem is that Perl never do new scope release.

      Perl 7 is what thing?

      Is Perl 5, Perl 6, Perl 7, Perl8, ... are different language?

      If someone release Perl 7 as Perl 5 successor, who stop it?

    Subscribe to feed Responses to Comments from Toby Inkster

    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.