Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Then you don't know neither awk or sed. Most of awk can be redone in Perl with ease, and for regex matching and replacing with sed, PCRE and Perl were practically made for that.

I mean, sometimes for small edits sed it's better, and awk for some tabular based files by using xml2tsv or lots of TSV related tools.

But for medium sized projects, Perl it's the obvious tool against something that requieres something similar to awk/sed but more complex data parsing.



> for small edits sed it's better, and awk for some tabular based files by using xml2tsv or lots of TSV related tools.

That, and shell, sed and awk are standard tools which are easy to learn, every unix user should learn basics of (even a java developer), and this won't change anytime soon.

However, this can't be said of Perl - it is a powerful tool, but it became culturally obsolete and deprecated, and most unix users in the present and the future won't be bothered to learn it, when learning more modern languages like Python is a better investment.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: