Perl Weekly Issue #43 - May 21, 2012 - Perl 5.16 has been released to the public! Hi, Last week I managed to make a copy-paste error and thus the link that was supposed to lead to my Dancer article lead to some other page. Luckily it was not some totally offensive page. I've included the same post with a - hopefully correct - link. Sorry for the inconvenice and thanks to those who mentioned it to me! I noticed there are several people now watching the Perl queue of StackOverflow, picking up questions and posting an article with the solution. I think this is an awesome trend! Thanks to Miguel Prz (niceperl) for his weekly 'Perl on StackOverflow' report that probably have a great impact on this trend. Now to the posts... Headlines Perl 5.16.0 is now available! Ricardo Signes has announced the release of Perl 5.16. I would warmly recommend to download the source code version, compile it and send a thank you note to the Perl 5 porters who have been working hard to produce this release. Then test your source code with it and report any issues caused by the new release. Tweet | Facebook | Google Plus Announcements Announce: WWW::Scraper::Wikipedia::ISO3166 As a follow-up to last week's discussion, Ron Savage release v1.01 of WWW::Scraper::Wikipedia::ISO3166 that ships an SQLite database of countries and subcountries, and an interface to that db. He even explaines what is a subcountry. Tweet | Facebook | Google Plus CPANdeps now understands META.json files CPANdeps, created and maintained by David Cantrell, provides a way to see all the dependencies of any give CPAN distribution along with the success rate of its tests. It helps you identify which ones of the prerquisites of a module might be problematic to install. Tweet | Facebook | Google Plus Using search.cpan.org AND metacpan fREW Schmidt created a greasemonkey/dotjs script and visit search.cpan.org . Run a search there. The results will link to MetaCPAN. Tweet | Facebook | Google Plus Major changes to column binding in Perl DBD::ODBC In his post Martin Evans described the changes and soliciting comments. If you are using DBD::ODBC, I'd recommend reading the post and commenting on the changes. The new version will be released soon and you'd better discuss the changes now than complain later. Tweet | Facebook | Google Plus Articles Interview With Ward Cunningham Dr. Dobbs has published an interview with the inventor of the wiki and long time Perl hacker, Ward Cunningham. There are some interesting parts about 'technical debt' and 'refactoring'. Comparing that with the idea of 'If it is not broke, do not fix it' and the idea of 'Do the simplest thing that could possibly work'. These all sound like contradicting each other. On the 4th page he talks about Perl. Tweet | Facebook | Google Plus An Introduction to Application Development with Catalyst and Perl Henry Van Styn published an article in the Linux Journal with step-by-step instuction to build your first Catalyst based web application. Tweet | Facebook | Google Plus Setting up Gearman Gearman is a Job server originally written in Perl (though it also has a C and a Java implementation now). Sebastian Willing started a series writing about it. Tweet | Facebook | Google Plus New Type Constraint Module for Perl Dave Rolsky has uploaded an alpha version of his new type-system that is supposed to fix some if the flaws of Moose's type system and that of MooseX::Types. (Hmm, I was not aware of those). Tweet | Facebook | Google Plus Execute and Share Your Perl Code on a Remote Server Christopher Frenz point out two services: codepad.org and ideone.com, that allow execution of Perl scripts by the casual visitor. I have not tried them yet but these could be great educational tool. Though I am not sure if in Perl programming or in security flaws? Tweet | Facebook | Google Plus Discussion Use of DBI in Sqitch I am sure you remember the earlier posts of David E. Wheeler about the Squitch program he is writing. Now he posted an issue which was very surprising to me. Should he use DBI to access the databases or should he use the command line clients? To me it was surprising especially as it seemed he is leaning towards the command line cliens. I would not even give them a chance. See the comments as well! Tweet | Facebook | Google Plus CPAN Updating all outdated Perl modules This is not good for strict versioning of the dependencies you are using, but during development, or just for fun, it is very useful to upgrade all the modules you have installed to their latest version. See the solutions of Sinan Unur using cpan-outdated and cpanm. Tweet | Facebook | Google Plus Code A Quick Look at the Blekko Search API Though I have some reservations with the code that does not use warnings, it is nice to see a small example running a query on the Blekko search engine and processing the resulting XML. Tweet | Facebook | Google Plus Separating Presentation from Content in Templates Responding to the commends on his earlier post, chromatic shows us how he uses Template::Toolkit. I must say this is too much for me. He is embedding even some Perl code in the template. While this is very powerful I am not sure if this is not the slippery road that leads to PHP/JSP/ASP style coding, where we mix too many languages in the same file. Tweet | Facebook | Google Plus Open URLs from the CLI One solution for opening URLs in an IRC session (using irssi) written in Perl by Dominic Humphries. Tweet | Facebook | Google Plus Easy text/html multipart emails with Email::Simple::Markdown Yanick Champoux announcing the new module and showing an example so he can avoid using the slightly complex Email::MIME, or more importantly, so he can write his e-mails in Markdown format that will be converted to either HTML or Text or both. Tweet | Facebook | Google Plus Test-driving Reflex Reflex is a Moose-based event-driven system built on top of POE. Yanick Champoux creates and explains a job daemon that can poll various jobs and process them. Tweet | Facebook | Google Plus Using Mojo::DOM Mojolicious is mostly known as a framework to build web applications, but in this article Joel Berger uses its DOM parsion capabilities to download a web page and fetch some specific information from that page. (opening time of a shop in this case). Tweet | Facebook | Google Plus Fun Leaflets for YAPC::Asia Tokyo 2012 Daisuke Maki (lestrrat) is showing use some leaflets they have prepared to explain what YAPC is for people who are not familiar yet. We should all learn from the Japanese how to promote Perl and our Perl related events. Tweet | Facebook | Google Plus Regexes Repeated Capturing and Parsing Chris Grau describes a problem that came up on their internal company Perl mailing list. (Stop here, how many companies have internal mailing lists for Perl?!) Then he goes through several solutions. One even using Regexp::Grammars. Then Marcel Grünauer comes up with a one-liner that at first sight seem to provide the same results. In any case, one can learn a lot from this. Tweet | Facebook | Google Plus Who is using Regexp::Grammars ? Just a few hours after the above post, Laurent Dami tells us he has been using Regexp::Grammars for some project but thinks too few CPAN modules use it. Why? Tweet | Facebook | Google Plus Grants Cooking Perl with Chef - Grant Report #3 David Golden reports his progress releasing a new version of Pantry that adds command line configuration to Chef nodes. Tweet | Facebook | Google Plus Perl 6 t4: Hex puzzle Carl Masak returns to the Perl 6 Coding Contest. Tweet | Facebook | Google Plus Other vim snippet to generate package name from the filename Are you tired of typing in the package name of a new module? Now, thanks to the vim Fu of Chris Weyl you can eliminate that frustration. Tweet | Facebook | Google Plus (xxix) stackoverflow perl report The weekly report of Miguel Prz (niceperl) with the ten most rated Perl-related questions at Stack Overflow. Tweet | Facebook | Google Plus The self promotion section Registration process with Perl Dancer A very simple version of double opt-in registration: Let visitors type in an e-mail, and send them a code so they can verify they are in control of that address. (hopefully now with the correct link) Tweet | Facebook | Google Plus Events I usually list the next 3-4 events here. The list of all the events can be found on on the web site. If your Perl event is not in the list, let me know. YAPC::NA June 13-15, 2012, Madison, Wisconsin, USA Tweet | Facebook | Google Plus French Perl workshop June 29-30, 2012, Strasbourg Tweet | Facebook | Google Plus Quack And Hack 2012 June 30-July 1, 2012, Philadelphia Tweet | Facebook | Google Plus YAPC::EU 2012 August 20-22, 2012, Frankfurt, Germany Tweet | Facebook | Google Plus If you are wondering why is the Nordic Perl Workshop listed, that event was postponed to October You joined the Perl Weekly to get weekly e-mails about the Perl programming language and related topics. Want to see more? See the archives of all the issues. Reading this as a non-subscriber? click here to join us free of charge. (C) Copyright Gabor Szabo. The articles are copyright the respective authors. You can unsubscribe here if you don't want to receive mails any more. You can freely redistribute this message if you keep the whole message intact, including the Copyright notice and this text. |
没有评论:
发表评论