Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^6: Modernizing the Postmodern Language?

by LanX (Saint)
on Jun 30, 2020 at 17:19 UTC ( [id://11118727]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Modernizing the Postmodern Language?
in thread Modernizing the Postmodern Language?

I don't think that the details are fixed yet, they will be discussed.

And yes, when using the debugger as repl I wouldn't need or want strictures.

But I see the need among teams to be able to enforce an opinionated Perl. (I kept calling this the use anal pragma till I had the idea to Google for "anal perl" ;)

My favored approach is to have "master" pragmas for different use cases.

And like I already said, my gut feeling tells me that something like use v7 will be the first solution, if only because they don't have that much time for fancier but riskier approaches.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^7: Modernizing the Postmodern Language?
by WaywardCode (Sexton) on Jun 30, 2020 at 20:26 UTC

    Yes, I like the idea of master use-based pragmas, which could even be adjusted per version. In an alternate timeline, it would be cool if they had kept the feature-bundle separate from the anality-level. Something like:

    use v5.32 :style qw/module bnf-grammar/;

    ... (where 'module' style might imply strict, warnings, no-indirect, etc. and bnf-grammar implies 'guac perl') ... would not offend me at all.

      Yes but beginners need a simple way to have a simple Perl for fast entry and least surprise.

      And I don't mind if "simple" is taken as "dumb".

      Hence use v7

      Easy things easy and complicated things possible.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

      PS I love here docs btw.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118727]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-19 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found