Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Perl News

( #23771=superdoc: print w/replies, xml ) Need Help??

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
MNPUG Revival
No replies — Read more | Post response
by wjw
on Mar 07, 2018 at 01:33

    There was a meetup this evening of the Minnesota Perl User Group. I am posting this in case there are folks in the Minneapolis area who are interested but are not connected to Meetup in the hope that those folks might pick up on it here.

    Here is a link to the MNPUG should you be interested. I am encouraged with this opportunity to re-establish the local Perl community.

    ...the majority is always wrong, and always the last to know about it...

    A solution is nothing more than a clearly stated problem...

Sad day when MJD modules go up for sale...
1 direct reply — Read more / Contribute
by stevieb
on Mar 05, 2018 at 18:17

    Mark Jason Dominus' modules are now considered orphans, and ready for adoption.

    News article here.

    It's up to you to read the thread. Take over what you can, but know that mjd's contributions are considerably deep and comprehensive.

Perl plugin for IntelliJ IDEA 2017.5 available
No replies — Read more | Post response
by hurricup
on Feb 26, 2018 at 02:13


    • Debugger (requires Devel::Camelcadedb v2017.100.3+)

    • Smart keys

    • Formatter

      • New formatting options available
        • Wrapping and Alignment
          • subs and methods signatures
          • variable declarations lists
          • subs and variables attributes, #1684
          • ternary expression
          • qw lists
          • call arguments
          • binary expressions, #1680
          • assignments
          • chained dereference, #1681
          • comma-separated lists, #1677
          • comments, #1676
          • spacing for signatures, attributes and subs prototypes
      • Formatting for anon subs, hashes, arrays and lists is much better now, by @aptituz
      • qw list is now formatted like a block, meaning quotes being formatted same way as braces, #1678
    • Interface

      • Re-generate XSubs declaration action removed from Perl5 settings. It's now available in Tools -> Perl5 menu and via Run Action... (Ctrl+Shift+A)
      • Re-format with Perl::Tidy and Deparse file... actions also moved to the Tools -> Perl5 menu.

    • Data::Printer exports should work fine now, #1698
    • cpanfile is now recognized as a perl file. To make resolve and completion work, you should have carton installed, by @Nowaker


    • Perl interpreters manipulation now has minimalistic UI, should help with buttons unavailability, by @alexqfredrickson
    • Missing completion of variables declared in anon sub signature, by @elcamlost
    • False variables resolve from statement to anon sub signature, by @elcamlost
    • Variables resolve to signatures in anon subs or subs nested in statements, by @elcamlost
    • Parsing of hash variable after omitted argument in perl signature, by @elcamlost
    • New line won't be inserted before fat comma on wrapping
    • Formatter now removes spaces after \ operator
    • Moving opening brace to the comment after compound statement beginning, #1578
    • Parsing $1x as variable name and x operator, #1667
    • Resolve from methods declared with method keyword in certain frameworks, #1669
    • Additional formatting cases
    • False unresolved sub warning in Exporter array in case of multiple targets available, #1726
    • Dialog rename for accessors now suggests proper name, #1719
    • False unresolved namespace warning in no statements, #1733


GPW 2018 => 20th German Perl Workshop
1 direct reply — Read more / Contribute
by Happy-the-monk
on Feb 25, 2018 at 06:06
berrybrew, the perlbrew for Windows, updated to v1.18
1 direct reply — Read more / Contribute
by stevieb
on Feb 16, 2018 at 15:31

    I finally got around to doing a decent update to berrybrew.

    Notable enhancements:

    • Perls listed with berrybrew available are now listed in numerical, descending version order (again... this was a regression)
    • Added new all subcommand to berrybrew fetch. This allows you to fetch the list of *all* available Strawberry Perls (there's over 100!). Previously, we would only fetch and list the most recent minor version number within each major version. (The standard and existing berrybrew fetch without the new arg doesn't change its previous behaviour)

    Important bug fixes:

    • Fixed issue where when using berrybrew fetch and there were orphaned Perls, we weren't auto-registering them as "custom"
    • Fixed issue when a user attempted to register a single custom Perl more than once, it was throwing an exception

    As always, if you decide to try it and/or upgrade, please let me know of any issues, or simply open a ticket.

    Official Changes log.

    c:\repos\berrybrew>berrybrew berrybrew <command> [subcommand] [option] available List available Strawberry Perl versions and which are +installed clean * Remove all temporary berrybrew files clone Make a complete copy of a Perl installation config Add berrybrew to your PATH exec * Run a command for every installed Strawberry Perl fetch * Update the list of Strawberry Perl instances available install Download, extract and install a Strawberry Perl off Disable berrybrew perls (use 'switch' to re-enable) register Manually register a custom installation directory remove Uninstall a Strawberry Perl switch Switch to use a different Strawberry Perl unconfig Remove berrybrew from PATH upgrade Performs a safe upgrade. Requires Git installed use * Use a specific Strawberry Perl version temporarily help Display this help screen license Show berrybrew license version Displays the version * - view subcommand details with 'berrybrew <command> help'



    ps. Thanks again to pryrt for his previous work along side myself, and for reporting both bugs and feature requests!

    Update: I even had to break rank and ask for help elsewhere, because berrybrew is written in C#. Needed quick help on how to sort order lets just say an array of hashes, where hashes are keys with values of objects. In Perl, meh, two lines of code. In C#, it's nowhere near as fun.

    I put up an SO post for the basics, but even still, that was simple. I still had to muck around and figure out how to sort by value of a key of a List of Dictionaries, where the list is List<Dictionary<string, object>>.

    I hacked at that and got it to do what is needed, but I'm certain it isn't ideal by any strech. C, Perl, Python, C++ I can do, but this .Net and C# stuff I need some guidance. Needless to say, if there are any C# people here, the berrybrew project could seriously use your help for some code review, at minimum :D.

Larry Wall illustration (Browserling)
1 direct reply — Read more / Contribute
by Arunbear
on Jan 10, 2018 at 07:21 has been restarted
1 direct reply — Read more / Contribute
by reisinge
on Jan 05, 2018 at 15:59
Update to smartmatch
5 direct replies — Read more / Contribute
by stevieb
on Dec 23, 2017 at 15:19

    Hi all,

    The smartmatch (operator, ~~) has been a fiasco for quite a long time, and caused much heated debate for so many years now that I consider it a historical piece of 'work'. Those who have paid attention to this feature knows what I speak of.

    This is just to bring attention to those who have interest, that there have once again been changes made in the most recent dev release (5.27.7). Personally, this has been such a long running debate that I don't think there's ever going to be a way to make everyone happy, so I digress.

    Aside from that, Happy Holidays to all of my fellow Monks, and thank you for accepting and having me as one of your peers, friends and oftentimes I nearly feel, colleagues for yet another year.


Happy birthday Perl
3 direct replies — Read more / Contribute
by marto
on Dec 17, 2017 at 19:01
Advent calendar
1 direct reply — Read more / Contribute
by hippo
on Dec 01, 2017 at 06:55

    It's advent, so pop on over to the Perl Advent Calendar for all the Perl goodies in the run-up to Christmas.

Perl plugin for JetBrains IDEs 2017.4 is now available
No replies — Read more | Post response
by hurricup
on Nov 28, 2017 at 23:32

    Below you may find all changes since last announced update (2017.1.3):


    • Perl project structure internals reworked:
      • Perl now may be configured as a second language for any type of project with any SDK selected
      • Added support for external libraries
      • Perl-related project settings are now in Settings->Languages & Frameworks section in all IDEs
      • It's no longer possible to add and/or select Perl as main project/module SDK in Intellij IDEA
      • IMPORTANT: it was not possible to automatically migrate user's settings to the new structure, so you'll need to - configure your project again
    • Built-in subs, namespaces and variables usages are now highlighted and you may find usages for them
    • Spell checking is now available in Perl5 and POD files, by akashr
    • You may now annotate methods with #@returns *, meaning that method returns $self, #247
    • Context view with Alt + Q and navigation with Alt + Up/Down works now, by johndunlap
    • Editor responsiveness should be much better now
    • Completion is now opens automatically after typing:
      • a sigil
      • an opening quote
      • an opening brace in a hash index
      • an opening brace after a sigil
      • a space inside of the qw list
    • Double-click on variable name should now select variable with sigil
    • __PACKAGE__ now may be used as class specifier in my/our/state and annotations #@type/#@returns, by @aldem
    • Inspection for use vars legacy pragma usage with quick-fix for converting to our declaration, #380
    • Intention to convert statement with modifier to compound statement and vice versa, by @cjelli
    • Re-worked live templates: abbreviations, defaults and so on (need a feedback)
    • Already typed import parameters are now excluded from the completion
    • Completion in braces after typeglobs now contains slots names


    • Few auto-reported exceptions
    • Lookup elements for arrays now containing array slices
    • Built-in array/hash elements and slices are now properly colored
    • Plugin does not add empty <perl/> section to the iml file if perl roots were not configured
    • Mark Perl5 root action is unavailable if Perl5 support is not configured, unmark still available
    • Improved $self type detection for tricky situations, #569
    • Stack overflow exception in Go IDE/plugin, #1584
    • Exception on override method action Ctrl+O
    • Exception in convert string to heredoc intention dialog
    • Mac users should not have problems with SDK addition anymore, by @bbmielke
    • continue block indentation after while and until
    • Spacing after for/foreach in compound statement without explicit variable, #1607
    • Completion for methods on annotated variables, by @bakanov
    • @EXPORT and @EXPORT_OK handling for large lists of exported variables, by @johndunlap
    • Unresolved variable inspection false positive on $1 and friends, #1605 (hardcoded variables 1-20)
    • Console filter should be more selective, to avoid linking other languages exceptions, #1630


Perl 5 Core Maintenance Fund running out of funds
1 direct reply — Read more / Contribute
by haukex
on Nov 20, 2017 at 07:34
London Perl Workshop 2017
1 direct reply — Read more / Contribute
by virtualsue
on Nov 20, 2017 at 07:18
    The annual Perl meetup in London will be happening this coming Saturday, 25th November at the University of Westminster Cavendish Campus. The address is 101 New Cavendish St, Fitzrovia, London W1W 6XH. There are approximately 200 people signed up so far. This year, along with Perl content for all interest levels (beginners to advanced), there are also talks on other languages and tech as well. Rust, Docker, Julia, & Go, to name a few. Come along if you can!
Inline::F2003 - ILSM for modern Fortran
1 direct reply — Read more / Contribute
by rongrw
on Nov 04, 2017 at 10:54
    Hi all,

    I would like to announce the first release of Inline::F2003. This module is an ILSM that allows Perl to compile inlined Fortran 2003 source code and execute it.

    The URL is Inline::F2003

    There are several reasons why I decided to release the module on Sourceforge rather than CPAN. The main one being that I feel this initial release is not yet sufficiently mature to be a standalone CPAN module. At the same time, Inline::F2003 does have sufficient functionality for users to try and comment on.

    I am highly motivated to produce a high quality module that allows Perl to interoperate with modern FORTRAN. This initial release was developed and tested on Linux only. However, I would still encourage users to try running the program even if their system is non-Linux.

    I am very interested to hear your views and experiences (and failures) with Inline::F2003. Thank you for reading this post. I do hope you'll have an opportunity to tryout the program, and report back your findings.

    Cheers, Ron.
Configure: shining a light on a very dark and important corner of Perl (Updated)
1 direct reply — Read more / Contribute
by 1nickt
on Nov 03, 2017 at 09:24

    Great blog post about the modern and ancient history of Configure.

    Some highlights:

    • "Configure had 1279 lines of code in its original version. Today, in Perl 5 blead, it has nearly 25,000 lines of code."
    • "Over the years more than 130 individuals have contributed to Configure's evolution in more than 1300 individual commits."
    • "metaconfig is, in essence, a collection of programs written in Perl 4 which launch a series of probes into the hardware and software available on a given machine ..."

    (updated with citations)

    The way forward always starts with a minimal test.

Add a piece of Perl News
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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others exploiting the Monastery: (9)
    As of 2021-03-05 11:13 GMT
    Find Nodes?
      Voting Booth?
      My favorite kind of desktop background is:

      Results (109 votes). Check out past polls.