News for hackers. Stuff that matters.
Re:Why Learn Awk? (2016) by wbazant on Tuesday January 21, 2020 @04:10PM (#22111609)
Also, because there's a whole culture of one-liners in Perl, you can also conveniently import libraries and call them:

Even though there's frequently value in adding whitespace to programs, many of them are just fine as one liners :)

e.g. this gets the title of a webpage for you: ``` $ perl -Mojo -E 'say g("mojolicious.org")->dom->at("title")->text' ```

There are no comments on this comment yet.