Partitions of an Integer

The subject of integer partitions comes up regularly, with multiple threads over the years at PerlMonks, a big chunk of Chapter 5 of Higher-Order Perl, and some pages from Knuth TAOCP volume 4A. Last year I added a partitions function to my ntheory Perl module, for counting integer partitions (OEIS A000041). A few months ago I added a partition iterator (forpart) since I liked the one Pari/GP added last year.

Integer partitions
Solution Impl
Max in 10s Count in 10s
ntheory 0.45 XS yes no yes yes 87 223,000
ntheory 0.45 Perl yes no yes yes 72 7,300
Integer::Partition 0.05 Perl yes yes no no 67 -
(unreleased, from Limbic 2004)
Perl no yes no no 62 6,000
MJD 2013 Perl no no no no 71 -
blokhead 2007 Perl yes no no no 63 -
kvale 2004 Perl yes no no no 62 -
sfink 2004 Perl yes no no no 58 -
tye 2001 Perl no no no no 58 -
(golfed, 73 chrs)
no (73)
no no no 21 -
Pari/GP 2.8.0
(not a Perl module!)
C/Pari no no yes yes 100 34,000,000

Exporter::Tiny nearing 1.000000

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

Exporter::Tiny is a module I split out of the Type::Tiny distribution. It's an exporter, offering roughly the same capabilities as Sub::Exporter, but with a lighter footprint. I've not massively promoted it, but have been using it in a bunch of my other modules, and other people seem to have picked up on it and started using it too.

The documentation requires a bit of work, but from my perspective the implementation is effectively complete. If you're using it, then I'd appreciate any feedback you have before it's "stable" and thus too late to change.

Ideas for | an Indian connecting platform

I have found certain outward challenges in perl and have always found someways to overcome them. Some of the common challenges i found specific in India are:
India being such a large country have a number of software development centers across it like: Noida, Gurgaon, Bangalore, Hyderabad, Pune etc. Though there are excellent developers in perl but they are less in number and find them sparsely located across these development centers , ie. few in each centers which makes connecting with each others rather difficult. Though there are some perl monger and other groups here but still as the developers are geographically sparsed in India, they dont connect well, eg. a developer in Delhi will not want to subscribe to Bangalore group because he may not find any merit at it. Same is with the recruiters .

My idea is to create a all india perl group, and also list profiles of most of the people here. There will be a weekly or monthly mailer from the group with a list of opportunities , I am willing to use the domain for this and use catalyst for the same.

Also we will plan remote sessions / google hangouts.

Any person here want to comment on this, and / or will want to contribute towards the design / anything just comment here or at ?

I am looking for Derek Price

I tried to get co-maintainer bit for Text::MediawikiFormat, but his e-mail does not get delivered. do you know Derek? Could you help me get in touch with him to become a co-maintainer?


I know what you're thinking. You're thinking: "What this world has too few of, is recruiters. The world definitely needs more recruiters". And given that shocking lack of people trying to get you a job, I've launched Perl Careers.

My eventual goal is to try and do something like O'Reilly did back in the day - divert a significant portion of profits back in to the community via paying for high-quality Perl content/articles, sponsorship of conferences, and sponsorship in to TPF and similar organisations. This is going to take me a while to achieve; I'm planning to sponsor November's London Perl Workshop, and I'm flying to London for it, and I hope to start paying for high-quality Perl-related content at the beginning of next year. ORA used to pay $200-$400 for articles on, and I think that's where I'll be aiming.

However, in the interim, I'm hiring for some great roles. I'm only willing to take on roles for companies I'd want to work at, so please get in contact:

Devops in the cloud with perl

I gave a talk at NY Perlmongers this past Tuesday. We streamed it -- though didn't really publicize that ahead of time due to me working on my slides up until the last second -- and Devops in the cloud with perl is up on YouTube. The slides are here. I used the excellent reveal.js.

This is my second time giving a talk at perlmongers, and SocialFlow's fifth time hosting. Every time I've attended perlmongers it's been fun, interesting, and worthwhile, so if you're on the fence about going to your local meetup you should give it a shot. And it you're on the fence about streaming your local meetup you should give that a shot as well; it's really not very hard.

The Audio compression came out really bad this time, probably because our upstream speeds were severely limited by being on a cable modem, but I still stand by my HOWTO live stream a talk in pretty much the laziest way possible.

Planet Moose - September 2014

Welcome to Planet Moose, a brief write up on what's been happening in the world of Moose in the past month, for the benefit of those of you who don't have their eyes permanently glued to the #moose IRC channel, or the MetaCPAN recent uploads page.

If you'd like to contribute some news for next month's issue, you can do so on the wiki.


Moose 2.1212 fixes some warnings under the Perl 5.21 development branch. (See also perl RT#121638.) Moose 2.1213 fixes a memory leak throwing exceptions. If you're already using Moose 2.11xx or 2.12xx, then it's probably worth upgrading to Moose 2.1213. If you're on an older version of Moose, then also consider upgrading but first test that your stuff works with a newer Moose.

Legal Issues in Game Software Creation

Note: I am not a lawyer and the following should not be considered legal advice. Double-check everything and hire a lawyer.

As I continue to work on Veure, I have the added fun of less time spent working on it while I try to understand the legal problems. If you're going to create and publish your own game, you'll invariably hit legal issues. What's worse, you might discuss them publicly and some bright spark will vaguely remember an online article, dumbed down for mass consumption, regarding a complicated libel lawsuit for the print industry and swear up and down that it applies to you. They won't supply a link.

In fact, software games seem to have some peculiar legal issues all their own, compounded by the fact that they're often indie games created by hyper-intelligent, well-read individuals who either don't think of legal issues or assume they already understand them. On the off chance that they're right about a given issue, there's also one tiny detail they often overlook.

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