Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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
Larry Wall Keynote at Curry On Rome
3 direct replies — Read more / Contribute
by perldigious
on Jul 25, 2016 at 11:27

    If anyone is interested, Larry Wall was the keynote speaker at a recent Curry On where he talked about Perl 6 in his uniquely "Larry" way ":-)".

    https://www.youtube.com/watch?v=BJIfPFpaMRI

    I kind of want that Forrest Fire algorithm to run as my screensaver at work, but my productivity, and that of my cube neighbors, would probably dip dramatically.

    I love it when things get difficult; after all, difficult pays the mortgage. - Dr. Keith Whites
    I hate it when things get difficult, so I'll just sell my house and rent cheap instead. - perldigious
New documentation service in Stack Overflow
No replies — Read more | Post response
by hexcoder
on Jul 22, 2016 at 07:14
    Stack Overflow has a new service called 'Documentation', which provides code examples and technical documentation.

    Is has just gone into beta status and also has a Perl section.

    Currently there are few topics, but it is probably growing fast.

The Slashdot Interview With Larry Wall
4 direct replies — Read more / Contribute
by Arunbear
on Jul 18, 2016 at 09:02
    Read Larry's answers to questions submitted by Slashdot readers. The questions included:
    • What's your computer set-up look like ?
    • How can we get Perl into the browser?
    • Why isn't Perl more windows friendly ?
    • How to think in Perl 6
    • Rationale behind the major syntax changes in 6?
    • If you got a 'Do Over' for Perl 6..
berrybrew, the Windows perlbrew; rewritten and enhanced v1.04 released
No replies — Read more | Post response
by stevieb
on Jul 17, 2016 at 12:42

    For the people who use Windows, I've released berrybrew v1.04.

    This software was originally written by David Farrell. While I was writing Test::BrewBuild, I needed some additional features (particularly the --with option for exec and much better PATH env var handling). I wrote a couple of PRs, but they were rejected (not by David, but by the new maintainer). Not long after that, the person who had taken over the project disappeared, so I decided to permanently fork it, and nearly completely rewrite the whole thing.

    It does everything the original does, but now includes far more:

    • Display available Strawberry Perls
    • Add/remove available Strawberry Perls by editing a JSON file
    • Install and remove Perl instances easily
    • Easily switch between installed Perl instances
    • Execute commands across all Perl installs, or just a select number
    • Ability to clone your Perl installations
    • Ability to easily disable berrybrew, and return to a system Perl
    • Thorough documentation for the berrybrew application, its C# API, configuration, and unit testing
    • Ability to clean its own temp directories and any orphaned Perl installations
    • Very simple installation/initialization via git clone, pre-packaged zip archive, or compile-your-own
    • Command subcommands have command-line help documentation
    • Automation build script for development
    • Automation release bundling script for development
    • Unit tests are written in Perl, and are run with a single command
    • Ability to specify where you want your base Perl installation directory to be located

    The main README contains the majority of details on how one typically would use the software. There's also more extensive berrybrew documentation that explains things further, as well as detailed online Berrybrew API documentation for developers.

    My favourite new feature is clone. Here are some of the benefits I've found with it:

    • Ability to name the cloned instance to your liking (currently, 25 char max)
    • Easily take snapshots of a Perl instance before making any changes to it, to provide an immediate restore point
    • Set up one instance with all the modules you typically use, then clone it as a template. This way, you can simply re-clone the template as many times as you want and you'll instantaneously have a brand new instance set up exactly to your liking
    • Project-specific instances - clone a base instance for specific projects, in order to ensure a consistent project environment
    • My favourite, set up development templates, then while debugging/building/testing your own modules, you can easily keep this development environment in pristine condition without any outside interference, with the ability to simply re-clone from the last snapshot if things go downhill, instead of installing a new instance from scratch

    Other enhancements:

    • off command allows you to quickly disable your berrybrew Perls, which returns you to a system perl (if installed)
    • debug feature to enable certain verbose output, simply by adding debug after berrybrew and before a command. eg: berrybrew debug install 5.24.0_64
    • The entire PATH management components have been completely re-written, and work correctly in all cases, and now writes to the registry directly, allowing variable-based PATH names
    • There are unit tests!! (albeit I need more)
    • The Perl objects are now only generated once and stored in the main object, instead of being rebuilt in every method call (efficiency)
    • Configuration changes no longer need recompilation of the binary
    • remove functionality has been enhanced to not break in several cases

    update: also posted on my seldom used perl blog.

Call to remove old CPAN releases from authors' directories
No replies — Read more | Post response
by hippo
on Jul 10, 2016 at 06:37

    There is a short-term requirement to free up disk space on the master CPAN server. The good news is that more disk is on the way in the longer term but this might just be the nudge some of us need to do a little housekeeping in the interim. This blogs.perl.org post has the details.

"Highlights" of The Perl Conference 2016 (aka YAPC::NA 2016) morning stream
No replies — Read more | Post response
by raiph
on Jun 20, 2016 at 15:38
    For those who don't have time to view the whole thing, I've written some "highlights".
Perl plugin for IntelliJ IDEA v2.1 has been released: Template Toolkit support
No replies — Read more | Post response
by hurricup
on Jun 18, 2016 at 06:41

    Improvements

    • Template Toolkit 2 support:
      • Parsing of TT2 files
      • Live templates for directives
      • Configuration for template roots, file extensions and markers
      • Smart completion of block markers
      • Inspection for incorrectly positioned directives
      • Files navigation and auto-completion
      • Blocks navigation and auto-completion
    • Methods detection and resolving:
      • One-statement subs with: shift->something, $_[0]->{something} now considered to be methods. shift and $_[0] considered to be $self
      • Subs with empty shift; as a first statement considered to be a method
      • Subs with undef as first unpacked argument considered to be a method
      • Constants are now being parsed as subs, so inheritance, inspections, annotations and gutter navigation should work on them too
    • Variables can now be deprecated with #@deprecated annotation
    • Typing space after use/no/package now opens auto-completion pop-up

    Fixes

    • Occasional exceptions on package auto-completion
    • Exceptions with use strict/use warnings quick-fix on read-only files
    • Occasional exceptions on SDK addition

    Links

XML::Lenient - my first CPAN module
1 direct reply — Read more / Contribute
by davies
on Jun 15, 2016 at 11:11
Perl plugin for IntelliJ IDEA v2.0 has been released
1 direct reply — Read more / Contribute
by hurricup
on May 26, 2016 at 14:00

    Next version of Camelcade - Perl5 plugin for IntelliJ IDEA has been released.

    This release includes Perl Debugger, the last feature I wanted to implement in Perl IDE of my dreams.

    Description

    • Debugger works over the network socket so you may debug scripts locally or remotely.
    • To be able to debug with plugin you need to install Devel::Camelcadedb module, available from CPAN.
    • Both IDE and perl process may act as client or server, depending on your network environment.
    • Debugger provides basic debugging operations: step-in, step-out, step-over, run to cursor with possible forcing (skip all breakpoints on the way).
    • Breakpoints with optional conditions and evaluated expressions (similar to actions from the native perl debugger).
    • Stacktrace view.
    • Lexical and global variables view for stack frames.
    • Watches.
    • Compiled sources browser.
    • Compiled evals browser.
    • Namespace browser.
    • Missing sources download (in case of remote debugging for example).
    • Eval-based templating engines support, which allows you to set breakpoints right in the template. (Requires support from the engine side).

    Detailed description can be found in the project wiki.

    I'd like to thank everyone who helped me on this difficult way: Valery Semenchuk, author of Consulo Project, Peter Gromov from JetBrains, Eli Abramovitch from Booking.com and many many other users and supporters!

    As I mentioned above, this is the last feature I wanted to implement in my dream-IDE. This doesn't mean that it's perfect or development will now stop, just that plugin is ready.

    Don't hesitate to send bug-reports, feature requests, pull requests or money :)

    Have a nice coding and debugging!

    Links

perl 5.24.0 has been officially released
3 direct replies — Read more / Contribute
by stevieb
on May 09, 2016 at 14:49

    Props to Ricardo Signes who has released his final two versions as pumpking (5.24.0 and the 5.25.0 dev track), and congratulations and thanks goes out to Sawyer X who has taken over the task.

    As I sit here, and oftentimes, I wish I could be monarch of a desert land I could devote and dedicate forever To the truths we keep coming back and back to. So desert it would have to be, so walled By mountain ranges half in summer snow, No one would covet it or think it worth The pains of conquering to force change on. Scattered oases where men dwelt, but mostly Sand dunes held loosely in tamarisk Blown over and over themselves in idleness. Sand grains should sugar in the natal dew The babe born to the desert, the sand storm Retard mid-waste my cowering caravans— “There are bees in this wall.” He struck the clapboards, Fierce heads looked out; small bodies pivoted. We rose to go. Sunset blazed on the windows. -- Robert Frost, the Black Cottage

    We are pleased to announce perl v5.24.0, the first stable release of version 24 of Perl 5.

    You will soon be able to download Perl v5.24.0 from your favorite CPAN mirror or find it at:

    https://metacpan.org/release/RJBS/perl-5.24.0/

    SHA1 digests for this release are:

    298fa605138c1a00dab95643130ae0edab369b4d perl-5.24.0.tar.bz2 35770ea5cf49a1082852c2300ccc3cbbc58b70fd perl-5.24.0.tar.gz 9d5424ac2debe979d1f7255fe0c818aff0b41b4c perl-5.24.0.tar.xz

    You can find a full list of changes in the file "perldelta.pod" located in the "pod" directory inside the release and on the web at

    https://metacpan.org/pod/release/RJBS/perl-5.24.0/pod/perldelta.pod

    Perl 5.24.0 represents approximately 11 months of development since Perl 5.22.0 and contains approximately 360,000 lines of changes across 1,800 files from 77 authors.

    Excluding auto-generated files, documentation and release tools, there were approximately 250,000 lines of changes to 1,200 .pm, .t, .c and .h files.

    Perl continues to flourish into its third decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl v5.24.0:

    Aaron Crane, Aaron Priven, Abigail, Achim Gratz, Alexander D'Archangel, Alex Vandiver, Andreas König, Andy Broad, Andy Dougherty, Aristotle Pagaltzis, Chase Whitener, Chas. Owens, Chris 'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari Mannsåker, Dan Collins, Daniel Dragan, David Golden, David Mitchell, Dominic Hargreaves, Doug Bell, Dr.Ruud, Ed Avis, Ed J, Father Chrysostomos, Herbert Breunung, H.Merijn Brand, Hugo van der Sanden, Ivan Pozdeev, James E Keenan, Jan Dubois, Jarkko Hietaniemi, Jerry D. Hedden, Jim Cromie, John Peacock, John SJ Anderson, Karen Etheridge, Karl Williamson, kmx, Leon Timmermans, Ludovic E. R. Tolhurst-Cleaver, Lukas Mai, Martijn Lievaart, Matthew Horsfall, Mattia Barbon, Max Maischein, Mohammed El-Afifi, Nicholas Clark, Nicolas R., Niko Tyni, Peter John Acklam, Peter Martini, Peter Rabbitson, Pip Cet, Rafael Garcia-Suarez, Reini Urban, Renee Baecker, Ricardo Signes, Sawyer X, Shlomi Fish, Sisyphus, Stanislaw Pusep, Steffen Müller, Stevan Little, Steve Hay, Sullivan Beck, Thomas Sibley, Todd Rinaldo, Tom Hukins, Tony Cook, Unicode Consortium, Victor Adam, Vincent Pit, Vladimir Timofeev, Yves Orton, Zachary Storer, Zefram.

    The list above is almost certainly incomplete as it is automatically generated from version control history. In particular, it does not include the names of the (very much appreciated) contributors who reported issues to the Perl bug tracker.

    Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish.

    For a more complete list of all of Perl's historical contributors, please see the AUTHORS file in the Perl source distribution.

    We expect to release perl v5.25.0 today, followed by perl v5.25.1 on May 20th. The next major stable release of Perl 5, version 26.0, should appear in May 2017.

    It has been my great pleasure to contribute to the development of Perl for the past five major releases. This will be my final major release. Thank you, everyone who has contributed to the project or offered kind words of support. They have been appreciated perhaps more than has been adequately communicated.

    Beginning with perl v5.25.1, Sawyer X will be the new reigning pumpking. Please be as kind to him as you have to me!

    -- rjbs

Perl plugin for IntelliJ IDEA v1.5 released
No replies — Read more | Post response
by hurricup
on Apr 27, 2016 at 05:45

    Next version of Camelcade - Perl5 plugin for IntelliJ IDEA has been released. This is an important milestone for me: year ago i've started to work on this plugin and in one year more than 2000 commits has been made!

    Features & Improvements

    • POD support: live templates, completion, navigation, refactoring and few useful inspections
    • Context help: hit Ctrl+Q on element in question and get your answer from pod files or inline pod
    • Mojolicious helpers support: navigation, completion and refactoring. NB: helpers should be declared explicitly, $app->helper($_, sub{}) for @something; wont work.
    • New annotation: #@inject, allows you to inject other languages in strings. Annotation may be before the string, before the statement containing the string or in the end of line string ends. (NB: eol annotation may be misleading and should be considered experimental, see #1072. Need a feedback.)
    • Class methods now properly re-factored in subclasses and optionally in super-class
    • You may now create package files with full-qualified names from New Perl File action
    • TryCatch basic support. Currently catch{}, catch($var){} and catch(Foo::Bar $var){} are supported
    • Redundant explicit namespace inspection, e.g. Foo::Bar::somesub() call from inside Foo::Bar package
    • Lexical vairables are now on top of the auto-completion pop-up
    • Significally improved parser recovery on incomplete and incorrect statements
    • New action: Deparse file using B::Deparse
    • Perl::Critic annotator is now on. All configurations must be done via .perlcriticrc file in project root or home dir (see Perl::Critic documentation). There is no any UI to configure Perl::Critic settings for now. Only enable/disable checkbox in Perl5 settings
    • Perl::Tidy formatting is now available. All configuration must be done via .perltidyrc file in project root (see Perl::Tidy documentation). Again, there is no UI to configure settings for now

    List of bugfixes may be found in release notes, but this release has a lot of internal optimizations and works much faster.

    Links

    Bugreports and feature requests are always welcome!

    Debugger is coming...

Do you want to be the next pumpking?
4 direct replies — Read more / Contribute
by choroba
on Apr 17, 2016 at 17:15
    Ricardo Signes (or rjbs) is going to pass the pumpkin. Read a nice interview with him at Geekuni.

    ($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,
Perl used in generating UNIX history
No replies — Read more | Post response
by Tux
on Apr 12, 2016 at 07:11

    Jarkko pointed me to unix-history-repo, as I have been mentioned in the acknowledgements. Of course being in the same list as Brian W. Kernighan is reason enough to raise some pride :), but it shows that they used perl (VCS::SCCS) to help build this history.


    Enjoy, Have FUN! H.Merijn
Perl 11, RPerl Presentation and Screencast TONIGHT
2 direct replies — Read more / Contribute
by Tommy
on Apr 11, 2016 at 09:21

    TONIGHT at 7PM US Central (GMT-5) the DFW Texas Perl Mongers be hosting special guest presenter, William Braswell. He is traveling in from Austin to talk about and demo RPerl and Perl "11". You're invited to join the screencast online or attend in person at the Dallas Makerspace...

    RPerl, Perl 11, and The Future of Perl Performance

    —with Will "the Chill" Braswell

    DESCRIPTION

    RPerl is the new optimizing compiler for Perl 5. Perl 11 is the philosophy of pluggability and the reunification of Perl 5 with Perl 6. We can currently use RPerl to speed up low-magic Perl 5 code with over 300x performance gain. This talk will discuss the future plans for supporting medium-magic and high-magic Perl 5 code, as well as Perl 6, and beyond.

    TIME AND PLACE

    Time: 7 pm to 9 pm US Central Time (GMT-5)
    Location: Dallas Makerspace
    1825 Monetary Ln, Suite 104, Carrollton, TX 75006
    Phone: (214) 699-6537

    ONLINE PARTICIPATION

    If you plan to attend online, please install the hangouts app/plugin from google.com/hangouts — This will allow you to view the live video stream, but if you'd like to participate interactively, please send your google ID/gmail address to dfw.perlmongers at gmaildotcom *before the meeting* and we'll add you to the online classroom.

    Hope to see you there!

    Tommy
    A mistake can be valuable or costly, depending on how faithfully you pursue correction
"When code reuse turns ugly"
2 direct replies — Read more / Contribute
by BrowserUk
on Mar 29, 2016 at 18:11

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.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (1)
    As of 2016-07-26 02:28 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      What is your favorite alternate name for a (specific) keyboard key?


















      Results (231 votes). Check out past polls.