3 ms·
Perl can be seen as a middle ground between AWK (and bash and sed) and a more general-purpose language like Python. It prioritises brevity of expression over re
by bluetomcat 3y ago
Perl can be seen as a middle ground between AWK (and bash and sed) and a more general-purpose language like Python. It prioritises brevity of expression over readability. Using regular expressions in Perl feels more like a "first-class experience", where most other languages treat it as just another library.
- pjmlp 3y agoAdditionally it can be seen as a safer C, as it gives access to most UNIX capabilities and C standard library, without the memory corruption gotchas.