Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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
Request for Feedback: Perl Documentation Site
4 direct replies — Read more / Contribute
by Anonymous Monk
on Oct 27, 2019 at 19:55

    The official Perl documentation site at https://perldoc.perl.org was recently overhauled. Independently, I put together a reimagined documentation site that would be hosted at https://perldoc.pl. In the interest of providing a documentation site that best serves the needs of the Perl community, we need your feedback. Please give both sites a try, in-depth if you want, or just how you would most commonly use the site. What do you like about the design or the functionality of each site? What is missing or can be improved? Any feedback regarding what you want from the Perl documentation site is helpful and appreciated. Please leave comments here or in the linked posts by Monday Nov 18th.

    blogs.perl.org comments

    Reddit comments

Announcing MooX::Press
No replies — Read more | Post response
by tobyink
on Oct 25, 2019 at 08:37

    MooX::Press is a quick way of building a bunch of Moo roles and classes in one use statement.

    The most basic example would be:

    package MyApp { use MooX::Press class => ['Foo', 'Bar']; } my $thing1 = MyApp::Foo->new(); my $thing2 = MyApp->new_foo(); # alternative constructor

    But do-nothing classes with a constructor and nothing else aren't very exciting. Let's define a class with some subclasses which have attributes and roles and methods and stuff.

    package MyApp::Zoo; use MooX::Press ( role => [ 'Aquatic' => { can => [ swim => sub { print "swimming\n" }, ], }, 'Flight', ], class => [ 'Animal' => { has => [qw( $name $colour $age )], subclass => [ 'Fish' => { with => 'Aquatic', subclass => [qw( Shark Ray )], }, 'Bird' => { with => 'Flight' }, 'Mammal' => { subclass => [ qw( Panda Goat ), 'Kangaroo' => { can => [ jump => sub { ... } ] }, 'Dolphin' => { with => 'Aquatic' }, 'Bat' => { with => 'Flight' }, ], }, ], }, ], );

    The above code just defined the following roles:

    • MyApp::Zoo::Aquatic
    • MyApp::Zoo::Flight

    And the following classes:

    • MyApp::Zoo::Animal
    • MyApp::Zoo::Fish
    • MyApp::Zoo::Shark
    • MyApp::Zoo::Ray
    • MyApp::Zoo::Bird
    • MyApp::Zoo::Mammal
    • MyApp::Zoo::Panda
    • MyApp::Zoo::Goat
    • MyApp::Zoo::Kangaroo
    • MyApp::Zoo::Dolphin
    • MyApp::Zoo::Bat

    All with the appropriate attributes and roles applied to them.

    Also, it defined a package called MyApp::Zoo::Types with class and role type constraints already set up.

    So you can do:

    use Moo; use MyApp::Zoo::Types qw(Kangaroo); has mascot => (is => 'ro', isa => Kangaroo);

    Or:

    use MyApp::Zoo::Types qw(is_Kangaroo); $thing->jump if is_Kangaroo($thing);

    Here's some more code using our zoo classes...

    use MyApp::Zoo (); my $lenny = MyApp::Zoo->new_shark(name => 'Lenny'); $lenny->isa('MyApp::Zoo::Shark'); # true $lenny->isa('MyApp::Zoo::Fish'); # true $lenny->isa('MyApp::Zoo::Animal'); # true $lenny->does('MyApp::Zoo::Aquatic'); # true $lenny->can('swim'); # true package MyApp::Zoo::Enclosure::Tank { use Moo; use Types::Standard qw(ArrayRef); use MyApp::Zoo::Types qw(Aquatic); has animals => ( is => 'rw', isa => ArrayRef[Aquatic], ); } my $tank = MyApp::Zoo::Enclosure::Tank->new( animals => [ $lenny ], );

    MooX::Press is on CPAN.

Perl 6 is now known as Raku
No replies — Read more | Post response
by haukex
on Oct 14, 2019 at 09:45
TimToady Approved renaming Perl6 to Raku
4 direct replies — Read more / Contribute
by wazoox
on Oct 11, 2019 at 16:27

    See the thread on Github.

    Relevant quote:

    I am in favor of this change, because it reflects an ancient wisdom:

    “No one sews a patch of unshrunk cloth on an old garment, for the patch will pull away from the garment, making the tear worse. Neither do people pour new wine into old wineskins. If they do, the skins will burst; the wine will run out and the wineskins will be ruined. No, they pour new wine into new wineskins, and both are preserved.”

Spreadsheet::ReadSXC got a new maintainer!
No replies — Read more | Post response
by Tux
on Oct 03, 2019 at 02:50
all of those “Perl Monks” need to become “Raku Monks”
1 direct reply — Read more / Contribute
by daxim
on Sep 19, 2019 at 04:02
Task::Kensho needs your help!
No replies — Read more | Post response
by marto
on Sep 14, 2019 at 06:26

    In case you missed it Task::Kensho needs your help!:

    "CPAN is wonderful and it is vast. Task::Kensho offers a curated look at the best it has to offer for those who don't know what to look for. But to remain useful, it must keep up with the trends of CPAN and the community. Thus, the community's input is vital to its maintenance.

    "Please, take a moment and look through the open issues. Comment or add a reaction in support of changes that make sense to you, and open a new issue if you think something is missing."

berrybrew, the Perlbrew for Windows v1.26 released
1 direct reply — Read more / Contribute
by stevieb
on Sep 02, 2019 at 18:42

    Nothing like a long hospital stay after a severe head injury to get caught up on some project work.

    I've released version 1.26 of berrybrew.

    See my blog post for more information, and an example of the new berrybrew virtual command.

    Here's a summary of the new features:

    TL;DR

    • berrybrew virtual allows you to manage non-Strawberry external Perls

    • Unattended installations now possible

    • new quick argument to berrybrew switch allows switching to new Perl instances without opening a new CLI window

    • berrybrew module export and berrybrew modules import allows you to export and import modules between Perls. Custom module list files allowed

    • Ability to change between Strawberry's home directory and Windows home directory when using File::HomeDir

    Long version:

    • Management of external Perl installations; Using the new berrybrew virtual command, one can bring in other installations of Perl for management under berrybrew. For example, if you have an ActiveState Perl installed on the system, you can virtualize it under berrybrew, and use or switch to it just like any of the portable Strawberry Perls we normally manage. This means that you can switch over to your system Perl when needed, without having to modify PATH, or temporarily disabling berrybrew

    • Unattended installations are now possible. We no longer prompt for user acceptance when running the initial configuration

    • New quick argument to berrybrew switch; This allows you to switch to a different Perl instance persistently without having to close the existing CLI window and opening a new one (note: some binaries and features may not work correctly. If you run into problems, simply open a new window)

    • Export and import modules from one Perl instance to another; berrybrew modules export and berrybrew modules import will dump a list of all installed CPAN distribution names from one Perl and install it on others. The export files can be edited at will before re-importing, and you can even create your own module list files to use as you see fit. Using this feature, in conjunction with berrybrew clone allows you to easily set up template Perl instances for very quick Perl platform setup

    • Ability to change the location where File::HomeDir points to; you can switch between the Windows home directory location, or the default location that Strawberry Portable editions set

    Side note... a request came in by a user to support previously installed Perls. Their developers use berrybrew, but all of their CI happens automatically on a locally installed Active State Perl. They wanted a way to be able to use Active State for their testing pipeline, without having to muck with path environment variables and such that would mess up the developer environment. With berrybrew use virtual_instance, the system Perl can be used for the CI runs without affecting the rest of the system.

[WS] Frankfurter Perl Workshop 2019/II - 27.10.2019
No replies — Read more | Post response
by LanX
on Sep 02, 2019 at 10:08
    Here the announcement of one of our biannual technical meetings. It's a very small 5-20 ppl workshop without fixed schedule and in German.

    So excuse me just forwarding the German announcement, before delaying it till I have an appropriate translation.

    (just run it thru google translate if necessary.)

    Unser Workshop ist oft klein (5-15 Teilnehmer) und spontan. Es gibt also nicht wirklich eine Anmeldung von Vorträgen. Es kann auch unfertige Vorträge oder gemeinsames Hacken geben.

    Datum: 27.10.2019

    Uhrzeit: ab 10 Uhr

    Ort: Haus der Jugend, Deutschherrenufer, Frankfurt

    Angedachte Themen:

    • Ein Themenstrauß im Umfeld "freie Wetterdaten" und in dem Zusammenhang die Verarbeitung mit Perl auf dem Server und in einer "Progressive Web Application" (PWA) auf dem Mobiltelefon.
    • More Fun with Macros

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

    update

    NB: This was rescheduled because the 20.10.2019 did collide with the LPW.

[WS] Barcelona Perl & Friends 2019
No replies — Read more | Post response
by LanX
on Sep 02, 2019 at 09:53
    There was an announcement at the YAPC::EU::2019, but since I needed to look it up again and again...

    It didn't seem to be announced here, I'll better share it again.

    Barcelona Perl & Friends 2019 workshop Saturday 9 Nov 2019

    for details:

    @choroba: If you're too worried to book a LPW in a civil-brexit-war environment, consider meeting me in Barcelona. ;-)

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

Individual Videos from Perlcon 2019 in Riga on YouTube
1 direct reply — Read more / Contribute
by haj
on Sep 02, 2019 at 05:40

    I haven't seen an announcement yet, but discovered it yesterday: The videos from this year's European Perl Conference in Rīga are available on YouTube in the PerlCon Riga channel. Credits go to Andrew Shitov and his team for organizing, and to the Enlightened Perl Organization with their helpers for providing and running the equipment. Thank you!

    The complete streams (one day, one room) had already been announced in a News Article at the conference website.

    Have fun!

Perl driver for mongo DB is deprecated
1 direct reply — Read more / Contribute
by xiaoyafeng
on Aug 28, 2019 at 16:07
    DEPRECATION The MongoDB Perl driver is being deprecated and will reach end-of-life on August 13th, 2020. For more information, read here




    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Ovid's take on the renaming of "Perl6"
3 direct replies — Read more / Contribute
by 1nickt
on Aug 28, 2019 at 15:40

    "Is Perl 6 being renamed?" at blogs.perl.org by ovid

    Update: others have quoted what they feel to be the most salient point of ovid's article, so here's mine:

    So yeah, there's bitterness and the Perl community not only needs to heal, but we need to find a way forward for both languages. The suggestion to change the name of Perl 6 to "raku" is effectively designed to make this happen. Perl 5 can figure out how to get beyond the branding issue that's been plaguing it and Perl 6 can do the same thing.


    The way forward always starts with a minimal test.
[partially OT] - wiringPi deprecated
4 direct replies — Read more / Contribute
by marto
on Aug 24, 2019 at 06:27

    wiringPi, a library for GPIO access on the Raspberry Pi is now deprecated, for the all too familiar reasons of abuse and unreasonable expectations of others. I think all of the perl and python libraries I've seen for Pi GPIO are dependent on this.

Perl 6 to be renamed?
4 direct replies — Read more / Contribute
by bangor
on Aug 12, 2019 at 14:33
    In a blog post by Dave Cross on the Perl conference in Riga there is this...
    The second day started with Liz Mattijsen’s keynote DeMythifying Perl 6. I was surprised when she stated that “Perl 6 has damaged Perl 5” was not a myth, but a fact and was totally blown away when she followed that up with a proposal to rename Perl 6.
    There seems no reference to this anywhere else.

    Blog post


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 perusing the Monastery: (5)
    As of 2019-11-23 01:13 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Strict and warnings: which comes first?



      Results (113 votes). Check out past polls.

      Notices?