3 ms·
The autosplit and loop options to Perl make it very suitable for an awk replacemnt. It even has BEGIN and END pseudo-patterns. Once you've tried Perl you don'
by emmelaich 12y ago
The autosplit and loop options to Perl make it very suitable for an awk replacemnt. It even has BEGIN and END pseudo-patterns.
Once you've tried Perl you don't want to flip back and forth to awk because the inconsistencies in syntax (within and to each other) will drive you mad.
- cstross 12y agoHowever, IIRC BEGIN and END showed up in Perl 5.003 or thereabouts, circa 1995-97.