Perl Weekly
Issue #211 - 2015-08-10 - CPAN Day is Sunday 16th August
latest | archive | edited by Neil Bowers
|
There is a new version of the MongoDB driver coming for Perl 5, and David would like you to try out the first release candidate.
This Sunday, 16th August, is CPAN Day, and this year marks the 20th anniversary of the first upload to CPAN.
I still don't know what a monad is.
Neil
Neil Bowers
|
|
|
Sponsors
|
Create internal cloud hosting solutions within Morgan Stanley. As a contributor on our budapest-based team, you will have responsibility to contribute not only to the code, but to the design and engineering of the full PaaS systems.
|
|
There are going to be 3 courses at YAPC::EU in Granada, Spain. At one of them you can learn how to use Angular JS together with Perl Dancer. Save 100 Euro by signing up before 14th August!
|
|
CPAN News
|
by David Farrell (DFARRELL)
David's monthly curated round-up of new distributions on CPAN, including his personal choice for new module of the month, which comes from Damian Conway.
|
|
|
by David Golden (DAGOLDEN)
David announced the first release candidate for the Perl MongoDB driver, version 1.0.0. This is a "substantial rewrite" of the original Perl driver, so if you use MongoDB, they'd like you to kick the tyres, and perhaps a little bit more.
|
|
|
|
by Olaf Alders (OALDERS)
This is a state of the HTTP::BrowserDetect nation from Olaf, who has been maintaining it for 5 years. He wants to let us know it's still very much actively maintained, and that he's keen to receive, and quick to act on, pull requests to keep the coverage update. And he also wants to shame those of us who are tardy at merging PRs, and rightly so.
|
|
|
by Neil Bowers (NEILB)
CPAN Day is August 16th, and celebrates the date of the first upload to CPAN in 1995. So this coming Sunday marks the 20th anniversary. Why not do something on/for CPAN Day?
|
|
|
|
Hacking with Perl
|
|
|
by David Bradford (DBRADFORD)
David talks through the multi_input function he wrote, so that scripts can take input from STDIN, one or more files, or a default input file. He also illustrates the use of the reverse builtin to invert a hash, which at least two long-term perl hackers weren't aware of.
|
|
by Daniel Culver (PERLSUFI)
Daniel explains that a common task in bio informatics is to find instances of a pattern in a string. But you often can't use the obvious regexp approach, because you want to find overlapping occurrences of the pattern in the target string. He shows us his solution.
|
|
by Mark Dominus (MJD)
Mark wrote a Perl version of a previous Haskell program using a list monad to solve a cryptarithm puzzle. In writing this I decided I should find out what a monad is. I found various pages declaring themselves to be simple explanations of monads, but I'm not sharing the links here, because I still don't understand monads :-)
|
|
|
Windows
|
by Sinan Unur (NANIS)
Sinan tested Inline::CPP on Windows 8.1 and had some test failures. He steps us through the path to fixing them, which as you can guess from the title, came down to directory separators.
|
|
|
ActiveState address the question of what's going to happen to them given the sale of their Stackato (PaaS) business to HP.
|
|
Community
|
by Makoto Nozaki
Nozaki-san wonders whether there should be a (monetary) award for "best Perl application" each year, to try and make a bit more noise about successful Perl apps. He wants to hear what we think, so why not let him know?
|
|
|
Notes from Stuart's talk to Sydney.PM about ways you can "spread the word" about Perl.
|
|
by Peter Rabbitson (RIBASUSHI)
Ribasushi gave a lightning talk at YAPC:NA this year, and tweeted about the topic again this week. His message was: if there's something you don't like about a module, it's easy to let the author know by sending email to the RT mail alias. I thought it would be neat to have a bug email demultiplexor for CPAN, where we could email dist-name@bug.perl.org and it would check whether the dist has a specified bug tracker, using that if so, or RT otherwise. But Ribasushi pointed out that GitHub's T's & C's don't allow this kind of automatic bug submission.
|
|
|
Perl 5
|
by David Golden (DAGOLDEN)
David periodically publishes a chart that shows the dates of the Perl 5 stable releases; this one shows from 5.4 to the most recent 5.22. The thing that really stands out is the steady march of yearly releases from 5.12 onwards.
|
|
|
Perl Tutorials
|
by Gabor Szabo (SZABGAB)
The slidecast Perl tutorial has passed 177 freely available episodes. Available on YouTube or downloadable from the Perl Maven site.
|
|
|
Perl 6
|
by Jonathan Worthington (JONATHAN)
Jonathan is taking the lead on the Great List Refactor, he fixed some issues related to our-scoped things inside roles, and a bunch of other thing besides.
|
|
|
by Aaron Baugher
Aaron took a Perl 5 script that he wrote ages ago, but has been using ever ince, and rewrote it in Perl 6. He talks through the new script, explaining it step by step. And it prompted some good discussion in the comments.
|
|
|
by Aaron Baugher
Following on from an earlier blog post, and comment from Liz, Aaron compared the performance of index() with a regexp, and found that for his case index was 10 times faster than his best regexp, and 100 times faster than his first solution.
|
|
|
by Aaron Baugher
Aaron's shows how he made it easier to enter more exotic characters in Emacs, which you might need to do when you're programming in Perl 6.
|
|
|
by Dmitri Tikhonov (DMITRI)
Support for Perl 6 has been added to ctags; you can grab it from github. If you're not familiar with it, ctags is "a programming tool that generates an index (or tag) file of names found in source and header files of various programming languages", says Wikipedia.
|
|
|
Not Perl
|
A list of 11 things that men can do to support women in computing.
|
|
|
A good discussion about some of the challenges faced on the move from senior developer to tech lead, and why not everyone who's good at the former will be good at the latter. He's written a lot about tech leads, so Patrick's blog is a good source of additional material if you're interested in the topic.
|
|
David Loftesness was the director of engineering at twitter. This is his guide for evolving engineers into good managers.
|
|
"This guide is designed as an aid for beginners and experienced users to find specific tips and explore tools available within Postgres". It was written by Craig Kerstiens (with help from others), who also curates Postgres Weekly.
|
|
Perl Maven and Code Maven Articles
|
|
|
Using $timeout for scheduled execution of a function.
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|