4 ms·
Having learned both at an intermediate level, I use awk for structured data handling, Perl for textual pattern matching. Perl was inspired by awk, not the othe
by gregw2 2y ago
Having learned both at an intermediate level, I use awk for structured data handling, Perl for textual pattern matching.
Perl was inspired by awk, not the other way around. Perl is more general purpose.
- red-iron-pine 2y agothis was my understanding as well. perl grew out of sed/awk/bash, so might as well learn perl. that said, i found it gives a lot of 'foot-guns'.
- thesuperbigfrog 2y ago>> i found it gives a lot of 'foot-guns'. Most of those are for backward compatilibity with earlier versions. Recommend you place the following at the top of your Perl scripts: use strict; use warnings; These are recommended for all scripts: https://learn.perl.org/first_steps/ https://learn.perl.org/first_steps/