News for hackers. Stuff that matters.
Re:Zx 3.0 by thatwasunusual on Monday August 16, 2021 @09:52AM (#28198064)
> That's why Perl is my go-to choice for glue scripts. It's almost always installed by default

My first thought was related to this as well: Perl is _always_ installed, and based on Python's popularity (compared to Perl, at least), I'd assume that Python also was installed by default?

That's an honest question, btw: I use Perl quite a lot, Python not so much (at all). :)

Re:Zx 3.0 by cfeliped on Monday August 16, 2021 @10:09AM (#28198294)
Assuming Python or Perl are installed by default in any server is an invite to a world of pain. At least that's my anecdotal experience.
Re:Zx 3.0 by qalmakka on Monday August 16, 2021 @10:34AM (#28198595)
I've seen instances of some Unix systems not having Perl installed, but that's very rare. Basically everything directly or indirectly depends on Perl, so you really have to run your scripts on a minimal install of RHEL of FreeBSD with 0 ports in order to get into such a situation.
Re:Zx 3.0 by mst on Monday August 16, 2021 @01:02PM (#28200302)
And for that situation you can always break out http://p3rl.org/App::staticperl.

Plus of course if you want to use (pure perl) cpan dependencies I wrote http://p3rl.org/App::FatPacker and http://p3rl.org/Object::Remote to make that easier.

Re:Zx 3.0 by thatwasunusual on Monday August 16, 2021 @10:50PM (#28205637)
> And for that situation you can always break out http://p3rl.org/App::staticperl.

Why do you link to p3rl.org? And, more importantly, why do you link to something that doesn't exist?

Re:Zx 3.0 by cfeliped on Monday August 16, 2021 @01:29PM (#28200620)
Many container base images won't have perl by default (e.g: alpine).

For servers it's less common, but enterprise systems never cease to amuse me.

Re:Zx 3.0 by qalmakka on Thursday August 19, 2021 @05:27AM (#28231877)
Most container base images are often so barebone you can't really count on them containing anything. For instance, on an Alpine image you can't count on bash.
Re:Zx 3.0 by thatwasunusual on Monday August 16, 2021 @10:47PM (#28205606)
Why?