Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Upgrading core modules

by syphilis (Archbishop)
on Feb 10, 2023 at 00:22 UTC ( [id://11150289]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Upgrading core modules
in thread Upgrading core modules

There's also a handy list on github.

That list looks incomplete to me - there are many more dual-life modules than are listed there.

Another thing one can do is to check the perl source. One will see there's a top level folder named "cpan".
Updating any module that's included in that folder is worth trying, and will generally (but perhaps not always) be successful.
Some, if not all, of those modules make a point of retaining backwards-compatibility.

The only other core modules that provide a standalone source that could be at a more recent version, are the ones in the top level "devel" "dist" folder.
These are also worth trying, though the version they provide is often no more recent than what one's perl already contains. Of course that depends upon just how out of date your perl is.

AFAIK, any other core perl modules will not exist as standalone source and should be left alone.
There have been times when I've tried to create a standalone source from the perl source. It has often become a messy exercise, and one that has never been fruitful.
I don't recommend it. Of course, one is allowed to attempt it - and it might even work out ok.

Oh .... I should point out that some of those core modules might be relocated over time.
For example, Math::Complex was in "cpan" when perl-5.36.0 was released but has now been moved to "devel" "dist", and will be in the "devel" "dist" folder when 5.38.0 source is released.

Cheers,
Rob

Replies are listed 'Best First'.
Re^5: Upgrading core modules
by Anonymous Monk on Feb 10, 2023 at 01:44 UTC
    The only other core modules that provide a standalone source that could be at a more recent version, are the ones in the top level "devel" folder.

    Thanks for your informative reply. I could not find a top level "devel" folder. Digging around I'm pretty sure you meant the "dist" folder.

      I'm pretty sure you meant the "dist" folder.

      Duh ... sorry 'bout that. (Now corrected.)

      Cheers,
      Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-25 17:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found