Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Perl Code Changes Behavior if Two Subroutine definitions are swapped

by Cow1337killr (Monk)
on Aug 02, 2016 at 01:13 UTC ( [id://1168975]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Perl Code Changes Behavior if Two Subroutine definitions are swapped
in thread Perl Code Changes Behavior if Two Subroutine definitions are swapped

Thank you, haukex, for this enlightening post.

I doubt that I am alone in wondering why CPAN does not have a better method of finding and marking modules that may be, for lack of a better word, obsolete.

Replies are listed 'Best First'.
Re^5: Perl Code Changes Behavior if Two Subroutine definitions are swapped
by Your Mother (Archbishop) on Aug 02, 2016 at 02:12 UTC

    That process itself would produce obsolete results rather quickly unless it were actively maintained. It cannot be robustly automated. Additional process is rarely the answer. Dated, versioned reviews are a better way that is available now.

      Thank you, Your Mother, for your informative reply. Not a day goes by where I do not learn something new from you and your fellow Perl Monks.

      I had not even thought about reviews. I looked at http://search.cpan.org/~chorny/Switch-2.17/Switch.pm, but I don't know how to find reviews on that webpage. I surfed over to https://metacpan.org/pod/Switch; I can see the hyperlink for reviews there. I read them and did not find anything particularly damaging; one review concerned Switch (2.16) and the previous one concerned Switch (2.10). My point is that no one in the Perl community has taken the time to write a (negative) review about Switch (2.17) that was released on March 18, 2014; the points made in this thread were much more valuable.

      Additionally, we are advised in the documentation: "...do not use if you can use given/when". If I wasn't a Perl Monks website frequenter, I probably would not be aware that given and when are experimental keywords, which is another way of saying don't go building systems around these keywords, because one fine day, the wonderful people that bring us Perl will tell us that the experiment is over and it was (very likely) a failure.

      So, in summary, you know this stuff and I know this stuff, but for the casual Perl user, it comes under the unfortunate heading of learning curve, which, as we all know, goes straight up.

      I don't have to tell you that somehow, someway, we have to attract new blood into our Perl community. (I know that Real Soon Now robots will be writing the code, but that isn't happening fast enough.) So, if there is someone out there that could devote some neurons to a project, even a small one, even an experimental one, even one in the Acme:: top-level namespace, that could keep beginning and intermediate Perl programmers from pursuing dead ends (like the one described in this thread), it would be one more item that Perl could include in the pro column of the list of pros and cons.

        So, if there is someone out there that could ...

        Here are some things which you or indeed anyone else could do:

        • Review Switch and detail its shortcomings and suggest better alternatives. Report back here and link to the review and it should get a good number of ++helpful votes.
        • Add your sentiments to Bug 86969
        • Fork the repo, improve the documentation to how you think it should be and submit a PR.
        • Lobby the dist maintainer to set the x_deprecated flag

        The Perl community is just that - a community. If your cause is worthy (and I think it is) then you should be able to either devote your own time to it or convince others to devote theirs.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-29 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found