2 ms·
I like perl for short throw-away programs, personally. It works really well for that. You can just hack away until it works and not think much about it. If you
by theonemind 8y ago
I like perl for short throw-away programs, personally. It works really well for that. You can just hack away until it works and not think much about it. If you thought about it a little strangely, perl will probably support you to the end of your weird solution.
- Wwhite 8y agoYeah, not everything needs to be coded like you're showing it off on github. Not that you can't do some nifty stuff, elegantly, in Perl. Should you write your entire codebase in Perl, in 2018? hell no But you probably shouldn't be writing anything more than 10-20 lines in Bash, either, and this class of organically evolving script, with little attention to design at the start (much like the language itself) is where Perl really shines.
- isostatic 8y agoI always regret writing bash scripts, which start really simple, but tr require refactoring into perl after a few days. Only problem with perl I've run into is analysing text at speed - 60,000 lines a second of regex doesn't work on a raspberry pi or other low end processor.
- anthk 8y agoJust use awk.