Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How do you run Perl on _your_ system?

by dsheroh (Monsignor)
on Jun 15, 2022 at 07:54 UTC ( [id://11144765]=note: print w/replies, xml ) Need Help??


in reply to How do you run Perl on _your_ system?

I'm apparently the renegade here: I use the system Perl (Debian's) without reservation. I don't even use local::lib because 99% of what I do is system-wide, so anything that depends on having access to customized personal-scope module installs is worthless to me. This has caused me exactly zero problems in the two-plus decades I've been managing things this way. The closest thing to "problems" is needing to reinstall CPAN modules every couple years when a new Debian version goes stable, but I'd have to do that with any Perl version number change, regardless of who initiates the change.

But a big part of the reason why this works for me is that I don't really care what version of Perl I use. I still write Perl 5.10-compliant code and, although I frequently see people talking about the latest new features added to the language like they're the greatest thing since sliced bread, none of them particularly excite me and I don't miss them. If you do care about your Perl version and/or want all the latest and greatest new features, then using perlbrew is the obvious way to go, since the OS provider's preferences may not align with your own. Similarly, if you're mostly working with things that require specific module versions or are only used by a specific user, then local::lib may make more sense than installing things system-wide.

Replies are listed 'Best First'.
Re^2: How do you run Perl on _your_ system?
by NERDVANA (Deacon) on Jun 15, 2022 at 21:27 UTC
    You can do that because you aren't on a rolling release distro. If you are, you can still use system perl as long as all the cpan modules are in the distro catalog, which they usually aren't. That's when you need to switch to perlbrew. For extreme rolling distros like Arch, that isn't even good enough because the system libs change ABI frequently breaking XS modules, but at least perlbrew makes it easy to throw away and re-install a perl version.
      You can do that because you aren't on a rolling release distro.
      Good point and, yes, that's also a big factor. Not being a rolling release is one of my primary reasons for choosing Debian and, specifically, Debian stable.
Re^2: How do you run Perl on _your_ system?
by afoken (Chancellor) on Jun 15, 2022 at 20:10 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2024-03-28 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found