3 ms·
My two favorite languages: Perl and Go. Both have very simple one file deployment, but my favorite use of Perl requires no file deployment, just one-liners on t
by biomcgary 4y ago
My two favorite languages: Perl and Go. Both have very simple one file deployment, but my favorite use of Perl requires no file deployment, just one-liners on the command line.
- throitallaway 4y agoHow's that true with Perl since the interpreter is still needed? In that case the same could be said about Ruby, Python, et al.
- biomcgary 4y agoIf you work on Linux or MacOS, you can generally count on the interpreter being present. Even minimal installs of Linux tend to include Perl. Python might be as ubiquitous, but Ruby certainly isn't.
- pjmlp 4y agoIt might, but you better be sure it is the right version.
- AnimalMuppet 4y agoIf he's mainly using it for one-liners, how version dependent can it be? (I suppose it may depend on how long a line he's willing to type...)
- pjmlp 4y agoDepends on what is being called on that line. https://perldoc.perl.org/perl#History https://perldoc.perl.org/perl#History
- blipvert 4y agoSeconded. I just wrote a script to generate Terraform code to create a VM in the company vSphere clusters, only needing host name and IP address (optional flags for meme/cpu/etc). Description of datacentres, subnets, etc as YAML in the DATA section, works out all the right VLANs. Works out of the box on everyone’s Mac.