Issue #110 - 2013-09-02 - Planet Moose for Object Oriented Perl Programming

latest | archive | by Gabor Szabo

Hi,

you have plenty to read and watch this week, so I'll keep quiet.

Enjoy!


Sponsors

We're Hiring Telecommuters - Grant Street Group

We're a growing software company using open source software/modern Perl practices to build innovative e-payment, auction, and tax collection web applications.
We're looking for talented, motivated professionals committed to flawless work and customer service.
Email resume: 106686-CS-6734@grantstreet.hrmdirect.com


Announcements

Rakudo and NQP Internals Workshop (14/15 Sep)

Elizabeth Mattijsen posted that there is going to be this workshop in Frankfurt, Germany, and with the recent developments in the Perl 6 world this seems like a good opportunity to catch up and make some contribution. Check out quickly as the last I heard, there were only 2 spaces left.

Perl multithreaded Amazon Glacier client

Amazon Glacier is an extremely low-cost storage service, mostly for backup. It costs $0.01 per Gb per month to store and some amount the retrieve data. mt-aws-glacier is the Perl Multithreaded Multipart Sync to Amazon AWS Glacier service. A command line tool for Linux. Written by Victor Efimov.

WWW::Tumblr 5.00

David Moreno has updated the Perl implementation of the Tumblr REST API to use the new, OAuth-ish API.

Planet Moose - August 2013

Toby Inkster started a monthly writeup of what's happening in the world of Moose and related modules. That is covering the (relatively) new breed of OOP frameworks of Perl. In this first edition, he mentioned Mouse, Moo, Moops, Class::Tiny, p5-mop and a bunch of MooseX::* modules.


Articles

DBIx::MultiRow – Updating multiple database rows quickly and easily

If you need to update a lot of rows in a database, especially one that is on another machine, it can take quite some time. duckbill (aka. William Blunn) explains two simple and a bit more complex technique to improve the speed. Then show how generalized them and implemented them in the DBIx::MultiRow module. It is currently implemented for PostgreSQL, but William is open to receive implementations for other databases as well.

Underappreciated Perl Modules: File::ShareDir

Timm Murray from the Wumpus Cave started a series of articles covering modules that he feels are not as well known as they deserve to be. (Did someone say promotion here?) Anyway, in the first article he covered File::ShareDir that helps you distribute and then locate non-perl assets with your CPAN module. For example icons, templates, or data files you might need for your desktop or web application. Or for your unmanned aerial vehicle (UAV).


Code

WebKeePass or how to build your own cloud-aware keyring

Do you us a single password on every system? If not, how can you remember all the passwords? Maybe you use KeePass to store them? Then how do you access them through a web browser? Alexis Sukrieh has a solution written, not surprisingly, in Dancer.

Lazy lists are good

Sinan Unur shows how to generate an iterator to return numbers in a certain range, or even one that does not have a specific end. One that can provide an endless supply of numbers, or and endless loop if are not careful.

Write GUI faster -> GCL

lichtkind (aka. Herbert Breunung) is create a language that will help creating GUIs faster.


Web

Thoughts On Catalyst, SOA and Web Services

John Napiorkowski covers several features that were added to Catalyst recently that can help in this aspect of the framework. Such as 'HTTP Method Matching', 'Support for nonblocking I/O', 'Parsing Common incoming Request Body Content'

Help Me Write the next Perl Catalyst Community Poll!

If we are already talking about Catalyst, John Napiorkowski asks for your help.

Anyone miss Mojolicious' memorize helper?

In the recent major release of Mojolicious we memorize helper was removed from the core. Now Joel Berger released the replacement as Mojolicious::Plugin::Memorize.


Grants

Grant Application: Maintaining the Perl 5 Core

David Mitchell asks for an extension of his grant.


CPAN

A single namespace per CPAN distribution

Neil Bowers explains why a package uploaded to CPAN should use a single namespace and its subnames only. So if you upload Foo-Bar it should only contain Foo::Bar and modules in Foo::Bar::* and not something like 'Config'. I you need a module for configuration, that should be Foo::Bar::Config.

Config::Tiny V 2.15 supports utf8

That's great! Finally I can probably replace our in-house patched version of Config::Tiny with the real thing!


Perl 5 core

Perl 5 Internals - Part One

Rob Hoelz reports from a presentation given by Yves Orton and Steffen Mueller on the internals of Perl. Short and quite digestible covering the basics of memory allocation for scalar values.

p5-MOP speedups, new traits and more ports

After a well deserved vacations Stevan Little is back and is reporting mostly on the process Jesse Luehrs made in this time. There are now 8 modules ported to the new p5-MOP. If you have tried it and have some code that can be added to the smoke test of p5-MOP, please get in touch with Stevan.


Videos

Carton 1.0 screencast

Carton helps make sure everyone on your team and on the deployment machine use exactly the same version of every CPAN module. In this 15 minutes long video Tatsuhiko Miyagawa, the author of Carton show how to use it. At the end of the video he even shows how to use Carton on a machine that has no Internet connection.

YAPC::NA video recordings

Todd Rinaldo just mentioned that a large part of the YAPC::NA videos have been uploaded to YouTube and are available for your enjoyment. More will come soon.


Perl 6

t3: Wire crossings

After a longish break, Carl Masak is back with a post covering the 3rd task in the latest Perl 6 coding contest. Don't forget to 'read the reviews'!


Other

CPAN RPMs

Dave Cross created web pages listing all the CPAN modules that have an RPM package in Fedora, CentOS and when they have RPM packages in 3rd-part repositories. Such as the one maintained by Dave himself.


Promotion??

A couple of days ago Gabor (that's me) got the opportunity to post Perl-related articles on The ChangeLog. This web site has very short articles just mentioning open source projects that might be interesting to follow or to contribute to. I'd recommend following them. And of course, not only the Perl section.


Weekly collections

Perl Maven Tutorial

slurp mode - reading a file in one step

Show both writing slurp by yourself and using the slurp method of Path::Tiny.

How to sort a hash in Perl?

Sorting by key. Sorting by value.


Events

I usually list the next 3-4 events here. The list of all the events can be found on the web site. If your Perl event is not listed there, please let me know.

YAPC::Asia Tokyo

September 19-21, 2013, Keio University Hiyoshi Campus, Tokyo, Japan

OSDC.fr

October 4-5, 2013, Paris, France

The Pittsburgh Perl Workshop

October 4-6, 2013, Pittsburgh, PA, USA

OSDC NZ

October 21-23, 2013, Auckland, New Zealand

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