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

>but only at the price of horrible edge cases and hours of StackOverflowing for doing the simplest of things.

Or seconds, after you learn the search term "Perl one-liner" and add it to your queries for all your edge cases.

Start thinking of perl -we as a Bash built-in function.

Suddenly edge cases go from hours to your typing speed into Google.

Don't forget to leave a comment with a link to where you found the solution, what it does according to that site, and an apology for the unreadable line noise. If you make changes to what you copy and paste, explain your changes in a comment.

(Just in case it sounds sarcastic or ironical, this comment is serious and how I really work. I am really glad for my comments whenever I revisit old scripts.)



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

Search: