News for hackers. Stuff that matters.
Re:Perl 11 by theonemind on Wednesday October 24, 2018 @12:16AM (#18289698)
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.
Re:Perl 11 by Wwhite on Wednesday October 24, 2018 @01:51AM (#18290019)
Yeah, 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.

Re:Perl 11 by isostatic on Wednesday October 24, 2018 @02:14AM (#18290095)
I 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.

Re:Perl 11 by anthk on Wednesday October 24, 2018 @04:40AM (#18290673)
Just use awk.