2014 Swiss Perl Workshop redux

The Swiss Perl Workshop did not disappoint, although as a featured speaker there was plenty to worry about. One of the organizers, Matthias Bloch, was well trained to take care of the chaotic situation of herding cats and programmers. He was a trained primary school instructor, in which he explained the getting a group of first graders to do anything is much harder. I'm dubious, having been to many workshops, but everything went well. The trick is to embrace the fear.

Matthias Bloch

Pittsburgh Perl Workshop 2014 Call for Talks

The Pittsburgh Perl Workshop Organizers are happy to announce our 7th annual event this November 7th through 9th in downtown Pittsburgh, PA. Our web site is now live and accepting registrations. We are also accepting talk submissions through September 26th:

http://pghpw.org

Thanks to Mark Jason Dominus and Tom Christiansen for volunteering talks for PPW already. And thanks to Infinity Interactive for covering the costs for John Anderson to come to PPW and teach our famous “From Zero to Perl” class on November 7th *at no extra charge* for anybody buying a ticket to PPW.

How does <email>@cpan.org work?

In the recent year I notice more and more instances that mail to ribasushi@cpan.org is silently swallowed. I know this because I communicate with the senders through other channels, and I've even received forwards of copies of emails which as far as the sender is concerned are delivered. I am also increasingly hearing the same story from my PAUSE-peers. Bottom line: it seems that the SMTPD cpan.mx.develooper.com is configured to do rather aggressive *silent* spam filtering.

I am writing this for 2 reasons:
  • I want to gauge whether the problem is indeed pervasive, or it is just bad luck on my part.
  • I want to solicit opinions on how to properly fix this if it is indeed a large-scale problem.

I personally would prefer to get all my mail forwarded my way directly, unfiltered and I would deal with it however I deem appropriate. Of course there are bound to be differing opinions on this.

Anyhow - please share your experience, both positive and negative!

Cheers

Some new MetaCPAN features

Perlybook integration: Each pod page and each release page now have two additional links to download MOBI and EPUB version of the current pod or the combined pod of the whole distribution.

The CPAN Author dashboard (can be reached from the 'Lab') now lists all of the distributions of the currently logged in CPAN author providing some overview of all the distributions.

The right panel can be now hidden (and then shown again) giving more real-estate for the documentation. Especially useful for smaller screens. This is persistent in the browser, but currently only works on the POD pages. This feature is also, still under discussion. Your feedback would be valuable!

You can now change the number of items shown on each result page. See the buttons
at the bottom of the search result pages. This choice is persistent in the browser.

Special Meta searches This is not new, but I only found out about these recently after writing how to
Find all Plack Middleware or Perl::Critic Policies.

Oh and something totally unrelated. I started to write an explanation about CPAN for users, contributors, and module authors.

If your core perl documentation uses =encoding, please test the new perldoc release

I'm here today to talk about the venerable perl documentation tool perldoc. Working with Koichi KUBO, I think I have a perldoc which works effectively with encodings in files like perlop, perlfunc and perlvar.

Preliminary results with the Japanese docs have been pretty successful, but it would be nice to get some positive results with other encodings/languages. So if you use a Perl with core documentation that isn't "plain old ASCII", would you please give Pod-Perldoc 3.24_01 a spin in your environment?

If you accept this task, please email results to bug-pod-perldoc at rt.cpan.org, open a github issue, or comment here.

Thanks!

Invite Me (Virtually) To Your Next Perl Meetup

Earlier this week I gave a presentation to the Boston Perl Mongers via Google Hangouts. This was the first time that I've done a presentation remotely, but everything worked flawlessly[1].

I would love to do more of these. If your local PM group or team at $work would like to learn more about static analysis with Perl::Critic, or dependency management with Pinto please get in touch with me. I am thaljef@cpan.org.

I'm looking forward to hearing from you!


[1] Big thanks to Tom Metro for extending the invitation, and Rick ... for handling the technical setup.

Padre is now on Github

Perhaps you remember Padre, The Perl IDE. It was started around 5 years ago, had a lot of development, and ended up being a quite decent programmer's editor.

Alas it's been suffering from lack of care for a couple of years now. Not because of lack of need or interest, but because nobody seems to have the time. And perhaps somebody needs to step up and grab the torch. Perhaps it's you?

Learning Perl 6 - Find in a Large File

Currently I feel it is good to prepare for Christmas.

To read in a larger file, /usr/share/dict/words in my case, I do
my @dictionary = split /\n/ , slurp '/usr/share/dict/words';
That is a cool piece of short code for the task. But - this is slow because I run a regex across a large file, I am told. Also, it is unnecessarily lots of code for the task. Look at that:
my @dictionary := '/usr/share/dict/words'.IO.lines;
Wow. But also, that was slow a few hours ago. It has become much faster since. (Don't tell anybody, the trick was going to a Perl Workshop and talking to some people. Nice people, and very, very helpful. I am tempted to some day try and run a hackathon for them..) Next task was searching for lines containing a $search_string:
for @dictionary -> $line {
      if $line ~~ m/$search_string/ {
          say "match: $line";
      }
}
Looks pretty straightforward but is programming Perl 5 in Perl 6. Brrr. ;-)
say @dictionary.grep({m/$search_string/});
!!!

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