Mastering Perl sales numbers are in!

brian_d_foy on 2008-01-11T23:07:05

I just got my first royalty check for Mastering Perl, a book I wrote mostly in 2006, that I finished in February 2007, and that went on sell in July 2007.

That's the book business, though. This royalty statement is for the third quarter of 2007, the first time is was available for purchase. I don't get the money at the of the quarter; I have to wait another quarter as the publisher accepts returns and any other accounting is adjusted. At the end of the succeeding quarter I get the report for the previous quarter.

I've been a bit anxious about this report for a while because it would be the first indication about how well the book was widely received and how many copies I could expect to sell. Many advanced books never sell out their first printing, and many authors never "earn out" their advance. Some of the books that I find most valuable to me never sold more than a three thousand copies. Along with that, I know the relative sales of Learning Perl and Intermediate Perl. There's a drop off; beginner books are almost always better sellers. I figured that the drop off to Mastering Perl might be exponential (perhaps following Zipf's Law).

Not to be disappointed, I told myself that if I sold 3,000 copies total over the life of the book, I could live with that. That's for all time and history. Considering that Learning Perl, 4th Edition sold about 12,000 copies in its first quarter and had three previous editions, I wasn't expecting Mastering Perl to do so well commercially. The only measure I had was the Amazon Sales Rank, and that's an almost useless number if it's greater than 100. I tried to explain that to odinjobs about their Learning Perl sales estimates which are too low by more than an order of magnitude.

Normally the royalty statements show up right at the end of the quarter. This one was a week late, and every time I got my mail for the past week I was a bit disappointed. I just knew that the number of copies sold would be low, but how low would it go? The first quarter is most of the money: few books are going to get more popular with time without appearing on Oprah or being optioned into a movie starring Tom Hanks (and, if anyone wants to make either of those happen, please contact me).

The royalty report normally comes in two pages (or more, I guess, depending on the number of books you have an interest in,). One page is the check and one is the spreadsheet of sales figures. This one had three, and the first was a cover letter. I hate those because they almost always mean bad news, like "You're book sold so few copies that we're removing it from the catalog".

I look at the check first because I don't want to know the bad news. Anything bad about Mastering Perl will be hidden in the numbers by the royalties for the other books. I should get the usual amount (sales are steady for the other books) or a little more.

The check is huge; not by Grisham or King standards, but by anything a computer book author would measure. I get the same feeling from the big government checks I used to get: someone is going to come looking for this money because it's all a big mistake. Now, I know I should be getting a bit more because I don't share the royalty income for Mastering Perl with anyone, but book authors already only get about 10% of what the publisher gets, which is about 45 to 50% of the full retail price.

Now I want to see the sales numbers. It's a new format that's easy to read, but doesn't break down domestic and foreign sales. That was the news in the cover letter. So much for bad news. Everything still fits nicely on one page, but I have to adjust my royalty database a bit for the new categories so it includes the new numbers in my overall sales summary.

I can't tell you the absolute numbers, but I'll give you some relative measures: in Mastering Perl's first quarter, it sold two thirds of all sales of Intermediate Perl since it came out in 2006. Mastering Perl sold slightly more copies than Learning Perl did in the same quarter.

The most important measure, however, is that the check is large enough to give me time to finish Learning Perl, Fifth Edition and keep working on Learning Perl 6 without working too hard to find teaching gigs. That's the real problem in being a book author: getting to the point where you have enough out there to carry you through the next book.

Don't think this means that any of you can just sit back though. Other people have already done their job buying Mastering Perl.


Any Royalty from Safari?

wyang on 2008-01-11T23:49:39

I got the book from my Safari bookshelf. Just curious, do the sales also consider the safari subscriptions and how does that stack up?

Re:Any Royalty from Safari?

autarch on 2008-01-12T00:07:31

Yes, online sales are reported for O'Reilly books. Also, the new report brian alluded to contains a report of sales via ORA's new system which allows people to buy reproduction rights for part of a book.

Re:Any Royalty from Safari?

brian_d_foy on 2008-01-12T02:08:18

It's just a line item that says "online", which includes Safari but I don't know what else. I don't see how many were sold, just a dollar number and my percentage of that. It's a decently sized number, but I haven't really compared it to previous royalty reports. The online numbers are usually very small compared to the paper book sales numbers.

Collaboration model?

dagolden on 2008-01-12T06:20:52

Do you think there's any connection to the fact that you had a very open development process, with a repository, a mailing list, and open participation by the community in shaping the book?

I'm not saying there is, necessarily, but I know that I definitely had a better impression of what I'd get out of the book based on what (little) I put into it and what I saw others putting into it. Certainly, this was one book that seemed to come about quite differently than most others in that sense.

Or it may be that a true advanced Perl book was a niche that was begging to be filled E.g. I thought Advanced Perl Programming, 2nd ed., was anything but. Mastering Perl had content that I really don't have repetitively in many other things on my shelf.

-- dagolden

Re:Collaboration model?

brian_d_foy on 2008-01-12T06:47:33

I have no way to really tell. I'd have to run a control test, and I don't want to spend two years doing that :)

I definitely think the quality of the book is related to opening it up. There's a very long list of acknowlegements, and it was very handy to have a test audience for things like negative lookaround (my hardest topic to write about). Now, if the better quality means more sales I don't know. It could be that I just talked about it every chance I get so it gets more attention that other books. Who knows. I'm just happy people bought it. :)

Part of Allison's and my original idea for the book was that it wouldn't just be another advanced book talking about the same thing already in the other advanced books. If it was in Advanced Perl Programming (either edition), Network Programming with Perl, Object Oriented Perl, Higher Order Perl, or a few other main books, I didn't cover it. So, it's mostly stuff people haven't seen in a book yet (mostly).

Cool

sigzero on 2008-01-12T12:47:08

I haven't gotten mine yet either. : )

Link to amazon.com

zeke on 2008-01-13T02:28:14

How about adding a link to amazon.com to drive sales and even generate a little bit of referral revenue?

Haven't mastered Perl

bennymack on 2008-01-16T01:53:39

I found a copy at a local book store and when I realized that I had learned several new things just standing there flipping through the book I realized I had to buy it. I also convinced my boss to buy one for others at the $hop. If and when your world travels bring you back to Buffalo it'd be cool if you could sign it and add to my collection of autographed Perl books!

Congrats!

Ovid on 2008-01-20T21:47:18

I'm glad to hear the sales are going well. We need all of the Perl experts we can get.