Moo 1.0 released

Just noticed from my CPAN feed that Moo 1.000000 is released. Yay. Also wishing mst to reach 1.000000 in recovery soon.

(I remember about a year ago when only my dists were the ones mainly using Moo. It's nice to see the list has grown. Not far behind Mouse and Moose, really.

Bash function for directory-dependent local::lib

On my laptop I use perlbrew to keep my system perl separate from my development perl. But I also develop various Perl projects with different dependencies, and would like to keep those dependencies separate if possible. Using a separate perlbrew perl for each project as well would be overkill in terms of diskspace, CPU energy and time so I thought local::lib might be useful.

If I install dependencies for a particular project using "cpanm -l extlib $MODULE" in the top level directory, the function below will automatically setup local::lib for that location when I change into that directory, and unset it when I change out. I use a test for the existence of a "extlib" directory and a Makefile.PL file because that is what I consistently have.

YAPC::NA 2012 - Talk Evaluations sent

The talk & tutorial evaluations have now been sent out to all the speakers from YAPC::NA 2012 in Madison. If you were a speaker and haven't received your evaluation, please check your spam folder first. If you still can't find it, email me and I'll resend you a copy. However, please note that I will be offline for a week from this Friday, so you may have to wait until i return to get your feedback.

Many thanks to all the attendees who submitted 566 individual talk evaluations. Having read through them all in order to ensure no unpleasantness appeared, I was quite impressed with some of the great comments. And not one had to be doctored either.

I am now working on the main survey results and hope to have those online by the end of the week.

Data::Format::Pretty::Console just got a bit prettier - dates

One of the small annoyances I have when displaying data is with dates (timestamps), which some APIs produce.

$ perl -MData::Format::Pretty::Console=format_pretty \
  -e'print format_pretty([map {{msg=>"msg$_", send_date=>1342610186+$_*12345}} 1..3])'
.-------------------.
| msg  | send_date  |
+------+------------+
| msg1 | 1342622531 |
| msg2 | 1342634876 |
| msg3 | 1342647221 |
'------+------------'

Often I have to copy paste the timestamp to irb and do something like 'Time.at(X)'.

No more. The latest release of Data::Format::Pretty::Console detects column names and automatically format the dates for you.

$ perl -MData::Format::Pretty::Console=format_pretty \
  -e'print format_pretty([map {{msg=>"msg$_", send_date=>1342610186+$_*12345}} 1..3])'
.----------------------------.
| msg  | send_date           |
+------+---------------------+
| msg1 | 2012-07-18 21:42:11 |
| msg2 | 2012-07-19 01:07:56 |
| msg3 | 2012-07-19 04:33:41 |
'------+---------------------'

When column name is not indicative, you can explicitly tell the module to format it as date, either using the formatting option table_column_formats, or environment variable when that is more convenient:

Signals demystified

Leon Timmermans will give a talk at YAPC::Europe 2012 described as

Some things seem easy but turn out to be hard; signals are one of those things. My shortest summary of signals would be «signals are like threads without locking».

In this talk, I'll explain the origin and development of signals, and how perl deals with them, and how you can (or sometimes can't) write signal safe programs.

Authentication and Authorization in Mojolicious

John Scoles will give a talk at YAPC::Europe 2012 described as

Using two new CPAN modules I will demonstrate how to implement

1) Authentication with a DB backend

and

2) Authorization with a DB backend

This will be a live tutorial demonstrating all the code involved

Perl benchmarking is boring

Steffen Schwigon will give a talk at YAPC::Europe 2012 described as

In contrast to all my past talks about benchmarking Perl I now actually have a running benchmarking infrastructure and actual results.

I this talk I will

- summarize again what I do at all
- present some obvious or non-obvious conclusions
that can be derived from the results
(depending on your and my prior knowledge) and
- tell what's missing

All that from my core-outsider's point of view.

Easy Ways to Get Started in Open Source

Noirin Plunkett will give a talk at YAPC::Europe 2012 described as

You might not feel like it yet, but if you're considering this talk, you have what it takes to make it in open source!

If you just want to help and don't know where to start, we'll talk about how to find a project, and all the prerequisites. It's easy to think you don't have anything to offer--but you're wrong!

If you've found a project and don't know how to start contributing, this talk will give you tips on getting in the door, finding things you can help with, and learning how to work with the existing contributors.

And, if you already have a project, you'll still learn a lot from this talk--how to attract new contributors, and how to keep them once they've shown an interest!

With years of experience in community development, and as editor of the popular Open Advice book, Noirin knows what it takes to get involved from both sides. Come and learn from her experience, and avoid her mistakes!

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