News for hackers. Stuff that matters.
Re:In Praise of Perl 5 by kamaal on Thursday February 27, 2014 @10:56PM (#7317158)
>>But is that really unique to Perl these days?

Yes. Scripting powers of Perl are unmatched.

>>It may have been true in the mid-1990s, but things have changed since then.

Hardly anything has changed. No language has taken scripting that seriously. You are likely confused between dynamic languages and scripting langauges. There is a big difference. If you haven't noticed, well then that's the whole point behind Perl. You really need to use it to see what it is.

>>Python and Ruby both have a much cleaner syntax

Its not about having a cleaner syntax. Making it easy to learn, only means the complexity is left to the programmer to handle now. Either way some one needs to handle the complexity, Its either the programmer or the language. If you make the language simpler, the complexity burden shifts to the programmer.

>>yet still offer very comparable functionality, excellent portability, ample standard and third-party libraries, excellent documentation, supportive communities, great regex support, and basically everything else that Perl offers.

Python takes great care to purposefully avoid offering every thing that Perl offers.

>>Since everything positive about Perl is also offered by alternative languages today, and those alternatives are themselves much better than Perl in some respects

You will have to substantiate that point with some evidence.

>>Perl seems like a less and less enticing option each day.

That is being told since what? 1988?

Re:In Praise of Perl 5 by danellis on Thursday February 27, 2014 @11:12PM (#7317204)
> Yes. Scripting powers of Perl are unmatched.

Can you offer any examples of how that is true?

Re:In Praise of Perl 5 by kamaal on Thursday February 27, 2014 @11:51PM (#7317300)
There is monumental material on this in sites like Perlmonks.

I started writing a detailed reply, but half way down I realized it might become a booklet project[Which is a very good project idea by the way]

I also realized I may not be able to justice to 3 decades of Perl history in one HN comment.

So the best I can do is point you out to two links.

http://hop.perl.plover.com/ and http://onyxneon.com/books/modern_perl/

Re:In Praise of Perl 5 by mattikl on Friday February 28, 2014 @04:00AM (#7317775)
Perl is a great tool for scripting, but calling it "unmatched" is hard to justify. Knowing Python or Ruby well, you can be efficient scripting with them, and that's what scripting is all about, getting the job done fast.

Higher Order Perl is one of the best books I've read, but I feel that's much more about software development than scripting, teaching the fundamental techniques in functional programming.

Re:In Praise of Perl 5 by skrebbel on Friday February 28, 2014 @03:29AM (#7317706)
So in order to be convinced that Perl is a force to take seriously, we need to read two entire books?
Re:In Praise of Perl 5 by singingfish on Friday February 28, 2014 @04:59AM (#7317900)
Short answer: python is perl for bureaucrats and computer scientists. Ruby is perl for people who realised php is awful.

Perl fits the same niche as English does for natural language - used everywhere, easy to learn for simple cases,very tough to master. The way I like to say it is that while most programming languages help you think more like the computer, perl helps the computer think more like you do.

Re:In Praise of Perl 5 by kamaal on Friday February 28, 2014 @07:40AM (#7318377)
In order to convinced about anything, you need to read documentation. And you need to learn how to read it well.

I've read the awk and sed man pages so many times, yet everytime I have to type a command I have to read it again.

Re:In Praise of Perl 5 by JimmyM on Friday February 28, 2014 @03:46AM (#7317745)
Those books look pretty general. Could you perhaps give just one or two examples which make Perl great specifically for scripting, to someone who does not know any Perl at all?
Re:In Praise of Perl 5 by danellis on Saturday March 01, 2014 @02:30AM (#7323517)
I was really just asking for a couple of short examples of scripts that demonstrate your point, based on Perl as it is now, not anything regarding its history.
Re:In Praise of Perl 5 by Pacabel on Friday February 28, 2014 @05:55PM (#7322101)
"Scripting" is a pretty vague term. If you mean quickly writing one-off programs, then there are many languages that are just as good as Perl, if not significantly better.

It's pretty clear that Perl does not hold the prominence it once held in the 1990s. So, yes, it is clearly becoming a less-enticing option for a lot of people, whether you're willing to admit this or not.