Issue #189 - 2015-03-09 - Mojo Week!

latest | archive | by Neil Bowers
Don't miss the next issue!

Hi,

Three entries about Mojolicious this week, including the announcement of MojoConf 2015!

If you have a PAUSE account, you should read David Golden's entry.

Editor #3, Neil


Sponsors

InsideSales.com - Pass our "Perl Challenge" & Win a $100 Amazon Gift Card Tweet Facebook Google+

Our yummy Perl codebase handles millions of emails in production each week! We're growing like crazy, doubling in revenue and size annually. We want you to join our team in Utah. Pass our "Perl Challenge" to win a $100 Amazon gift card and an interview. Hires will receive a sizable signing bonus.

Looking for Perl Gurus to work in exciting development environment Tweet Facebook Google+

Do you eat Javascript for lunch? Are you familiar with Web Servers such as IIS and Apache? Do you dig Perl the most? Then join Striata! We will make best use of your talent, while ensuring that you grow and learn in an environment that boasts some of the best developers in the industry. Apply now!

Interseted in sponsored ads in the Perl Weekly? Check out the details.


CPAN News

Moo 2 - strictures not exported by default Tweet Facebook Google+
by Matt S. Trout (MSTROUT)

Version 2 of Moo is now on CPAN. Matt talks through the strictures change that is biggest news.

What's new on CPAN - February 2015 Tweet Facebook Google+
by David Farrell (DFARRELL)

David's monthly update on new CPAN distributions released in the last month. He now showcases a "module of the month" each time, and this month that was File::Serialize, which is a nifty module, even if Yannick can't spell serialise.

Tree::Renderer: A partial replacement for Data::TreeDumper Tweet Facebook Google+
by Ron Savage (RSAVAGE)

Ron is working on a module called Tree::Renderer (not yet on CPAN), for use instead of Data::TreeDumper, and he's open to feature requests.


PAUSE and CPAN

Distributions much have a main module with matching name Tweet Facebook Google+
by David Golden (DAGOLDEN)

David describes a change in PAUSE that can result in a slightly perplexing error message when you upload something to PAUSE. Basically, if you upload a distribution Foo-Bar to PAUSE, then it must contain a module Foo::Bar, otherwise it will not be added to the CPAN index. Existing dists not meeting this rule got an exception, but all new dists must satisfy this rule.


Mojolicious

Mojoconf 2015 Tweet Facebook Google+

This year's Mojolicious conference will be held in New York from June 4th to 6th. Speakers will include Sebastian Reidel, Marcus Ramberg, Glen Hinkle, Joel Berger, and Jan Henning Thorsen.

Introduction to Mojolicious Tweet Facebook Google+
by JT Smith (RIZEN)

A video of a talk given at Madison Perl Mongers.

Problems upgrading to Mojolicious 6.0 Tweet Facebook Google+
by John Scoles (BYTEROCK)

Problems, and their solutions, when upgrading to the latest and greatest version of Mojolicious.


Community and culture

The Company Culture - the process Tweet Facebook Google+
by Mark Keating

Mark outlines his plan for promoting companies that are using Perl in some way.

The Westfield Leader Tweet Facebook Google+
by Mark Keating

Mark started his promotion of companies using Perl with a description of a regional newspaper from New Jersey, USA. They've been using Perl for more than 15 years, and recently contributed to the Perl 6 team's need for a new server.


Testing

Test-More status update Tweet Facebook Google+
by Chad Granum (EXODIST)

An update from Chad on his work on the Test-More distribution, in particular what exactly will be shipping with Perl 5.22. He's been working on some refactoring, and benchmarking his changes, but realised that one of his changes didn't have the impact he'd thought. It's great to see this getting discussed and written up "in the open".

How to test for exceptions in Perl Tweet Facebook Google+
by David Farrell (DFARRELL)

David introduces Test::Exception, which you can use to write tests that deal with exceptions.


Misc

Announcing Statocles Static Site Generator Tweet Facebook Google+
by Doug Bell (PREACTION)

A static website generator called Statocles, which includes a blog application.

Towards better Changes Tweet Facebook Google+
by Steven Haryanto (SHARYANTO)

Perlancar shares his thoughts on what should go in the Changes file for your distributions. In particular, don't just say what you changed, but why.

Fear and Loathing in SQL-92 Tweet Facebook Google+
by Arthur Axel "fREW" Schmidt (FREW)

A war story used to illustrate a point, with some good tips and thoughts thrown in. For example, do you use, or are you aware of the fc function (introduced in 5.16)? A good rule of thumb: "you should not emulate, imitate, or otherwise do the job of the database".

Look At My Pretty Pictures Tweet Facebook Google+
by Dave Jacoby (JACOBY)

Dave shows the code he wrote to write spirograph style pictures in SVG, which he then etched onto wood using a laser cutter. I have no justification for one, but a laser cutter is going on my wishlist!

Book Review: Perl and XML Tweet Facebook Google+
by Robert Threet

A short review of the O'Reilly "Perl and XML" book, which was published in 2002. Even so, Robert was surprised to find it a useful read, and wishes he'd read it earlier.

Notify to your user in Linux - GNotification Tweet Facebook Google+
by Bakkiaraj Murugesan

A full example using FFI::Platypus to send notification to the Linux Desktop user.


Perl 6

Perl 6 for Mere Mortals - FOSDEM Video Tweet Facebook Google+
by Curtis 'Ovid' Poe (OVID)

The video from Curtis's talk at FOSDEM just over a month ago. Videos from some of the Perl talks are available, but not all of them have complete audio, alas.

Perl 6 weekly happenings Tweet Facebook Google+

You can now embed Perl 6 code in Java, native reference support has been ported to the JVM, and you can now use keywords for sub, method, and class names (it doesn't say why that might be a good idea).


The PR Challenge

Various updates on the Pull Request Challenge Tweet Facebook Google+
by Neil Bowers (NEILB)

A new home page for the challenge, changes in the way distributions are scored, and a new hit list to help get dists onto github.

CPAN Pull Requests in February Tweet Facebook Google+
by Neil Bowers (NEILB)

A few charts showing how many pull requests were done for CPAN distributions in February, and how that compares with previous years, and with last month. TL;DR: much better, not quite as good, respectively.

CPAN PR-Challenge: March Report #2 Tweet Facebook Google+
by Alberto Simões (AMBS)

Alberto describes his work for a PR on Exobrain. I've added one idea to our central ideas list: check whether any of the dependencies should have a minimum version specified. I was bitten by this issue just this week — easy to do if you regularly upgrade your Perl and re-install CPAN.


Perl Maven Tutorials

Creating bar graphs using Perl GD::Graph Tweet Facebook Google+
by Gabor Szabo (SZABGAB)

13 slightly different bar-graphs from the same data series.

Comparing the speed of JSON decoders Tweet Facebook Google+
by Gabor Szabo (SZABGAB)

Bottom-line: The XS version is 57.42 times faster than the pure Perl version.

You know, you could get the Perl Weekly right in your mailbox. Every Week.
Free of charge!

Just ONE e-mail each Monday. Easy to unsubscribe. No spam. Your e-mail address is safe.
Perl Weekly on Twitter Perl Weekly page on Google+ Like the Perl Weekly on FaceBook RSS Feed of the Perl Weekly. Updated once a week