For the latest news on what's happening in the Perl world, check out these sites:

If you have a Perl-related news item you'd like to share, you may post it in the Perl News section. Please try to avoid duplicating news; but pointers (with summaries) to important stories on other sites are acceptable here.

Perl News
Perl Code Jam 2019
No replies — Read more | Post response
by choroba
on Apr 05, 2019 at 14:02
    The Qualification Round of the Google Code Jam 2019 starts in 5 hours! The round lasts 27 hours, so there should be enough time to gather the needed 30 points.

    Perl used to be supported in the Code Jam, but last year, the support was dropped. The great news is Perl support is back! Enjoy rather fresh 5.24.1. See you in the scoreboard!

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
April 1 Article on Perl
2 direct replies — Read more / Contribute
by choroba
on Apr 05, 2019 at 04:21
Weekly Challenge
2 direct replies — Read more / Contribute
by hippo
on Mar 31, 2019 at 08:31

    manwar has started a Perl Weekly Challenge to encourage both those new to Perl and old hands to try solving a weekly problem or two with Perl. Anyone can sign up at any time or just browse the blogged solutions (the first one is from BooK).

    Solutions to the challenges are encouraged in either/both Perl or Raku so there should be something for everyone.

Perl plugin for IntelliJ IDEA 2019.1 available
1 direct reply — Read more / Contribute
by hurricup
on Mar 27, 2019 at 00:28

    Updates

    • Code insight
      Control flow graph is now computed for your sources, moving plugin to the next level of intelligence. For start:
      • Unreachable code inspection.
      • Exit points highlighting.
    • Code navigation
      • Grouping usages by the file structure, displaying usage context (sub, package or pod section), #1919.
      • Grouping and filtering usages by the read/write access type, including list and hash modifying subs, #1918.
      • Breadcrumbs for perl and pod files, including inline POD, by @sewi-cpan (#1875).
    • Tests running, by @dimentox (#805) and @tomk3003 (#1935)
      • Run Configuration to run tests using prove with default IDE tests result UI, (requires Tap::Formatter::Camelcade).
      • Diff window for a test failure output: got/expected.
      • Parallel tests running.
      • Debugging tests (parallel running suppressed).
      • Runing tests with coverage (parallel running suppressed).
    • Debugger
      • Debugger is now displays stringified objects representation if "" operator is overloaded. Additionally, you may specify custom renderer for any package, using File | Settings | Build, Execution, Deployment | Debugger | Data Views | Perl5 Type Renderers settings (requires debugger module 2019.1), by @cdalvaro (#1750).
      • New option for the remote debugging: automatic reconnection. Allows to re-connect to the process until manually stopped, by @djstauffer (#1369).
    • Perl modules support
      • Readonly syntax support, by @pJunger (#1415).
      • Log::Log4perl imports support, by @giddel (#1412).
      • Support for the Pod::Weaver syntax, by @Zaitsev (#1839).
      • Improved resolve for File::Spec::Functions subs. Actual module has tricky exporting, binding OS-specific implementation in runtime. Plugin for now resolves to the Unix implementations from the File::Spec::Unix, by @grakkpl (#1393).
      • Bundle::Camelcade module introduced. Installs all modules that may may be required when working with the perl plugin. Going to be suggested for installation as alternative for particular modules, #1946.
    • Automatic injections can now be configured for strings and heredocs using java regular expressions in File | Settings | Editor | Language Injections, by @Christoffen (#1878).
    • Support for the POD in the __END__ block, #1896.
    • Support for interpolation in match regex with (?{...}) and (??{...}), #1906.
    • Truthiness inspection with quickfixes to add explicit defined or string/numeric equality check, by @RickMeasham (#1715).

    Fixes

    • Run Configuration editor now looks less chaotic.
    • Packages list in Install package action is now split by spaces, commas and semicolons, allowing to install arbitrary version with cpan, e.g. HURRICUP/Devel-Camelcadedb-v2018.3.0.tar.gz.
    • Formatting and enter handling for code in replacement regex with e modifier, #1915
    • It's now possible to add perl with non-default -v response, by @EdenOaksConsulting (#1879).
    • Better parsing for Types::Standard things, #1887.
    • Better parsing of different try-catch syntaxes.
    • Minor parser improvements: #1890, #1891, #1893, #1894, #1895, #1901, #1904, #1905, #1897.

    Links

Variable length lookbehind
1 direct reply — Read more / Contribute
by choroba
on Mar 24, 2019 at 05:32
    Have you noticed Variable-Length Lookbehinds: actually possible in Perl/PCRE!?

    This is now history!

    $ perl -wE 'say "aaaab" =~ /(?<=a{1,20})b/' Variable length lookbehind not implemented in regex m/(?<=a{1,20})b/ a +t -e line 1. [$?: 255] $ blead perl -wE 'say "aaaab" =~ /(?<=a{1,20})b/' Variable length lookbehind is experimental in regex; marked by <-- HER +E in m/(?<=a{1,20})b <-- HERE / at -e line 1. 1

    The original blog post by Tom Wyant here.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
HTTP/3 library: authors wanted
1 direct reply — Read more / Contribute
by dmitri
on Feb 21, 2019 at 08:53
    This is a public service announcement (cross-posted from here).

    By now, everyone has heard that HTTP/3 is coming. Based on Google's QUIC protocol that began as an experiment circa 2012, IETF QUIC and HTTP/3 are likely to become standards this year.

    My employer, LiteSpeed Technologies, has been actively participating in the standardization process. We have also open-sourced several of our C libraries, QUIC (and HTTP/3!) Client and QPACK among them.

    It would be cool if Perl were one of the first to get its own HTTP/3 or QPACK library. This is a call for a volunteer -- someone who is looking for a new project that is sure to get a lot of mileage. I would be glad to help augment our libraries to facilitate this process.

About the various PANs.
No replies — Read more | Post response
by marto
on Feb 20, 2019 at 05:13

    Olaf Alders has published About the various PANs, which touches on the various PANs (CPAN, MetaCPAN, BackPAN...) since this often causes confusion, or people are simply unaware of them, along with the lower case pans (cpan, cpanm and so on).

2019 Stack Overflow Developer Survey
2 direct replies — Read more / Contribute
by choroba
on Jan 25, 2019 at 11:22
    The survey is upon us again!

    Our 2019 Developer Survey is Open to Coders Everywhere!

    Perl is not listed as one of the Programming and Scripting Languages, but fortunately there's Other where you can fill in the name. If there's enough of us, maybe they'll put Perl back where it belongs?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
WebPerl in the Advent Calendar
No replies — Read more | Post response
by 1nickt
on Dec 02, 2018 at 18:53
Perl advent calendar 2018
1 direct reply — Read more / Contribute
by marto
on Dec 01, 2018 at 03:21
Perl plugin for IntelliJ IDEA 2018.3 available
1 direct reply — Read more / Contribute
by hurricup
on Nov 19, 2018 at 14:12

    Updates

    • IMPORTANT: - in 2018.3, Perl plugin was split into several plugins. One for each framework or extension. Don't forget to install them if necessary.
    • fileno information is now available in the debugger, by @ivanych (requires debugger module 2018.3+)
    • Markers for automatic injections into here-docs and literals using #@inject annotation are now configurable in the Perl settings, by @aldem
    • Scripts, executed in console is now ran with Pty and supports ANSI colorized output.
    • Alternative sdk configuration re-worked and allows to choose one of the registered interpreters (NB: old configurations may break if used alternative paths), #1423
    • Missing library notification now have actions to install a missing package with cpan or cpanminus.
    • perltidy and perlcritic scripts are now discovered automatically in the selected interpreter and manual configuration is no longer possible, #1809 & #1810.
    • IDE listens process output for a missing package warnings and suggests to install them.
    • plenv version manager is now supported, by @aptituz
    • berrybrew version manager is now supported, #1643
    • perlbrew version manager is now supported, #320
      • Action to create a library available in Tools: Perl section. Available if perlbrew is selected as a current interpreter.
      • Action to install a cpanm and patchperl using perlbrew.
    • Action to install a Perl5 for the version manager is available in Tools: Perl section. Available if vm-based perl is selected as current interpreter.
    • Action to install arbitrary packages using cpan or cpanmn.
    • Action for installing App::cpanminus in Tools: Perl section
    • Action to refresh current interpreter information. Plugin watches for the filesystem changes and most likely catches external changes to the interpreter (e.g. installing package from console), but not always (and for sure can't do this in the remote case). This action forces IDE to refresh current interpreter data, so all changes should be catched. (NB: this action is more like an emergency thing, so if you often forced to use it, it's probably worth to start an issue in the tracker.)
    • Missing package file inspection suggests a quickfix to install a package using cpan/cpanminus, by @yxliang01
    • WSL support. Windows users may use not only system perl and berrybrew, but WSL distributions with version managers in them, #1820 (via separate plugin)
    • Docker support. You may use a Perl5 from Docker container, by @drmmr763 (via separate plugin)

    Fixes

    • Sdk selection panel is not wrapped on resize, #1786
    • Run With Coverage should work fine with version managers, by @floreal
    • Typing and removing parens, brackets and braces as quotes for quote-like operators inside normal parens, brackets and braces now works properly, by @aldem
    • Better inline POD handling, by @Christoffen

    Links

WebPerl now has Experimental Perl 6 Support!
No replies — Read more | Post response
by haukex
on Nov 12, 2018 at 11:16

    Yes, that's right, WebPerl can now load either Perl 5, Perl 6, or both! See http://webperl.zero-g.net/perl6.html. This is thanks to the great work on Rakudo.js and 6Pad by Paweł Murias.

    This is experimental and currently works by patching a local copy of WebPerl, and it only works in Google Chrome (because Rakudo.js needs BigInt support). I've tried to explain things in the above link, let me know if you have questions.

    (If you want to see some real Frankenstein type stuff: experiments/p6/test6.html - FrankenPerl? :-) )

Frankfurt Perl Workshop - 18th Nov 2018
No replies — Read more | Post response
by LanX
on Nov 11, 2018 at 17:09
    Frankfurt Perl Workshop is a little one day workshop for max 20 attendants and without big organizational overhead.

    People just bring interesting subject or talks or improvise those ... ;-)

    Meetup Link: https://www.meetup.com/de-DE/Perl-User-Groups-Rhein-Main/events/256329717/

    Announcement in German:

    am Sonntag, dem 18. November 2018 veranstalten wir wieder den Frankfurter Perl Workshop. Der Workshop findet wie letztes Jahr auch im Haus der Jugend statt.

    Wir treffen uns ab 10 Uhr zu Vorträgen, gerne über Perl. Das Programm liegt nicht fest, aber Vorankündigungen sind gerne willkommen!

    Für Kaffee und Stückchen ist gesorgt, mittags gehen wir wahrscheinlich Pizza essen.

    Zeitgleich bzw. wahrscheinlich nach der Mittagspause findet auch noch die Mitgliederversammlung des Frankfurt Perlmongers e.V. statt.

    Datum: 18.11.2018

    Uhrzeit: ab 10 Uhr

    Ort: Haus der Jugend, Deutschherrenufer, Frankfurt

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

London Perl Workshop 2018
No replies — Read more | Post response
by virtualsue
on Nov 09, 2018 at 06:05

    The London Perl Workshop (LPW) is a free one-day technical conference at the Cavendish campus of the University of Westminster in central London. It has been happening since 2000 or so and it's happening yet again. It's free, and there will be a lot of Perl types running around London for a few days.

    • WHEN: Saturday 24th November 2018
    • WHERE: 115 New Cavendish Street London W1W 6UW
    The website is here - have a look at who's coming, the schedule (if it's up) and maybe sign up.
Cavil - New Legal Review Sytem by openSUSE written in Perl
No replies — Read more | Post response
by choroba
on Nov 08, 2018 at 15:29
    The open-source community has a new project designed to help Linux/GNU distributions with the legal review process of licenses. See the announcement.

    It's written by sri in Perl, with Mojolicious/Minion and PostgreSQL.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Add a piece of Perl News
Title:
Text:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":


  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.