News for hackers. Stuff that matters.
Re:PHP has been removed in macOS Monterey by kqr on Thursday June 17, 2021 @05:08AM (#27537594)
I doubt they'll be able to get rid of Perl any time soon.

However, how come things break when Perl is upgraded? From what I've heard, Perl should be extremely backwards compatible. What am I missing?

Re:PHP has been removed in macOS Monterey by pjmlp on Thursday June 17, 2021 @05:13AM (#27537628)
Enjoy the incompatible changes section from all Perl history,

https://perldoc.perl.org/perl#History

Re:PHP has been removed in macOS Monterey by mst on Thursday June 17, 2021 @08:34AM (#27538894)
That's a link to complete changelogs.

Those aren't an "incompatible changes seection".

perldelta covers bugfixes, feature additions etc.

Re:PHP has been removed in macOS Monterey by pjmlp on Thursday June 17, 2021 @10:15AM (#27539798)

   foreach entry in "https://perldoc.perl.org/perl#History" do
      open entry on browser
      search for "Incompatible Changes" section
      read section contents
Writing a script in Perl to do the above is left as exercise to the reader.

Hint, use LWP.

Re:PHP has been removed in macOS Monterey by anthk on Thursday June 17, 2021 @07:09AM (#27538330)
That's bullshit. I've run exercises from the Orelly CD bookshelf more than a decade old and they just run as is.
Re:PHP has been removed in macOS Monterey by viraptor on Thursday June 17, 2021 @07:36AM (#27538484)
Almost all exercises are minimal in nature. They will touch only small areas and (unless the book is based around advanced ideas) will not touch tricky / changing functionality. So I'm not surprised exercises still work.
Re:PHP has been removed in macOS Monterey by pjmlp on Thursday June 17, 2021 @07:17AM (#27538386)
That just proves the point you got lucky with what language features were used on the exercises.
Re:PHP has been removed in macOS Monterey by Ensorceled on Thursday June 17, 2021 @09:24AM (#27539300)
> That's bullshit.

Dude, there is literally a link with references.

Re:PHP has been removed in macOS Monterey by darrenf on Thursday June 17, 2021 @05:35AM (#27537797)
For me, I had been too lazy to use Homebrew or Perlbrew since I don't develop locally per se, but I wanted `Perl::LanguageServer` for use with VS Code – which I'd installed via `local::lib` into `~/perl5/`.

Post-upgrade either various modules weren't found (because they were installed in a versioned path), or they didn't compile because the XS components had been compiled against the prior version of Perl.

Re:PHP has been removed in macOS Monterey by mst on Thursday June 17, 2021 @08:35AM (#27538901)
Right, that's a risk you take doing local::lib against system perl.

I will often use the system perl to bootstrap https://p3rl.org/Perl::Build which makes building -one- perl for local use easier than perlbrew/etc. - and then https://p3rl.org/App::plx for managing per project environments if I need that

Re:PHP has been removed in macOS Monterey by rurban on Thursday June 17, 2021 @05:15AM (#27537644)
They had to recompile their perl XS bindings, where esp. subversion is horrible to update.