3 ms·
> 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_ i
by thatwasunusual 5y ago
> 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). :)
- cfeliped 5y agoAssuming 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.
- qalmakka 5y agoI'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.
- mst 5y agoAnd for that situation you can always break out http://p3rl.org/App::staticperl http://p3rl.org/App::staticperl. Plus of course if you want to use (pure perl) cpan dependencies I wrote http://p3rl.org/App::FatPacker http://p3rl.org/App::FatPacker and http://p3rl.org/Object::Remote http://p3rl.org/Object::Remote to make that easier.
- thatwasunusual 5y ago> And for that situation you can always break out http://p3rl.org/App::staticperl 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?
- cfeliped 5y agoMany 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.
- qalmakka 5y agoMost 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.
- thatwasunusual 5y agoWhy?