Would it be beneficial to know this alongside of Python, or is it more used instead of Python?
I personally found that I didn't need Perl at all. I am a bioinformatics programmer/scientist and Perl was the first language I learned. I find that whatever I can do in Perl I can do with bash/awk/sed--and whatever I can't do with bash/awk/sed I can do in Python. I've never been happier.
Learn Perl in about 2 hours 30 minutes
81–90 of 111 posts
Re: Learn Perl in about 2 hours 30 minutes
#82Earlier quoted context omitted.
Legacy? I hear about new Perl projects starting in large enterprises everyday! Unless you are in the web programming domain(Somehow web developers think their's is the only software being written in the whole world) where your Python and Ruby frameworks seem to be famous. Perl is pretty big in the backend. Perl is here to stay, and its simply too useful to be going away anytime soon.
Just because you can do something doesn't mean you should...
So we continue to use it. Just because there is some new shiny stuff around, we don't use just for the sake for using it.
Trolling Perl to advocate Python hasn't helped for decades and won't help now either. A better debate will be to argue on technical merits. Trolling and whining gets people curious to verify if all that is true, thereby forcing them to read and some readers adopt it too.
Re: Learn Perl in about 2 hours 30 minutes
#83If you really want to learn Perl, you must install the read-eval-print loop (REPL) utility. If you have never used this utility, I will have serious grounds to doubt your Perl skills. Unlike Ruby or Python (or most other modern high-level programming languages), Perl does not come with an interactive REPL shell, which makes no sense at all, since, due to Perl's obscure syntax, someone trying out Perl would benefit at…
Doubt away.
I have never used that utility. Yet I have been programming Perl since the 90s, and am one of the top 10 posters on Perlmonks. (My nick there is tilly.)
Care to re-evaluate your criteria?
Re: Learn Perl in about 2 hours 30 minutes
#84If you really want to learn Perl, you must install the read-eval-print loop (REPL) utility. If you have never used this utility, I will have serious grounds to doubt your Perl skills. Unlike Ruby or Python (or most other modern high-level programming languages), Perl does not come with an interactive REPL shell, which makes no sense at all, since, due to Perl's obscure syntax, someone trying out Perl would benefit at…
If you have never used this utility, I will have serious grounds to doubt your Perl skills. Doubt away. I have never used that utility. Yet I have been programming Perl since the 90s, and am one of the top 10 posters on Perlmonks. (My nick there is tilly.) Care to re-evaluate your criteria?
Yes, for you, I can :) My post was meant only to advocate interactive learning (which I came believe to be faster than the usual code/modify/run cycle). Few things (if any) can beat 15 years of intense experience. Most people, though, whom one is likely to encounter in the real world who claim to know Perl will only have used it for a year or two, probably in combination with something else.
Re: Learn Perl in about 2 hours 30 minutes
#85If you really want to learn Perl, you must install the read-eval-print loop (REPL) utility. If you have never used this utility, I will have serious grounds to doubt your Perl skills. Unlike Ruby or Python (or most other modern high-level programming languages), Perl does not come with an interactive REPL shell, which makes no sense at all, since, due to Perl's obscure syntax, someone trying out Perl would benefit at…
If you have never used this utility, I will have serious grounds to doubt your Perl skills. Doubt away. I have never used that utility. Yet I have been programming Perl since the 90s, and am one of the top 10 posters on Perlmonks. (My nick there is tilly.) Care to re-evaluate your criteria?
Re: Learn Perl in about 2 hours 30 minutes
#86Earlier quoted context omitted.
If you have never used this utility, I will have serious grounds to doubt your Perl skills. Doubt away. I have never used that utility. Yet I have been programming Perl since the 90s, and am one of the top 10 posters on Perlmonks. (My nick there is tilly.) Care to re-evaluate your criteria?
I'm in exactly the same boat. I've been doing Perl for 14 years, and never use a REPL. Occasionally I'll hit 'perl -e ""' on the command line, which I guess is a similar idea...
Hacker News is a bit of an exception to what you find in the real world (where 3 years of experience with a language can be considered as better than average).
Re: Learn Perl in about 2 hours 30 minutes
#87Earlier quoted context omitted.
Anecdote which amuses me: I find JavaScript tolerable thanks to Joose and other ideas borrowed from Perl.
Not sure if you'd have any thoughts on this matter... The JavaScript community as a whole (seen especially in the direction of node.js + NPM) is moving away from global namespaces and toward the "module pattern" and dependency injection (note: I had no idea what those terms really meant 6 months ago). Presently, Joose3 goes against that grain. For example, if in a node.js script you: require('joose') if (Joose) { con…
Re: Learn Perl in about 2 hours 30 minutes
#88I've been working with Perl programmers for just about ten years now and the one thing I've sadly learned is that while many folks claim to know Perl, but only a small group can do it well. (although granted you can apply this reality to any other programming language)
"Write once, read never" comes to mind. So many single/double char operators which need to be memorised with Perl, before you can start comprehending the programs. Not to mention Perl hackers used to pride themselves on super succinct code - in certain circles it use to be popular to include one liners to do complex stuff in email signatures. (Not complaining though, Perl was the first language I used, and probably t…
Re: Learn Perl in about 2 hours 30 minutes
#89Earlier quoted context omitted.
I don't think you read what you're responding to. How can they all have an "unparalleled extension ecosystem"?
Thank you I did read the post. Python has pypi. Ruby has gems. I'm not going to google the rest but if they don't have one there is no reason why they can't. And FYI pypi is better than CPAN so all the other stuff in the that post is crap imho. I was a Perl dev for ~10 years. Now have about 5 worth of Python. So thank you.
That somehow fails to convince me that other language ecosystems parallel the CPAN in breadth, scope, maturity, and ecosystem. See CPAN Testers, for example.
Re: Learn Perl in about 2 hours 30 minutes
#90Earlier quoted context omitted.
I don't think you read what you're responding to. How can they all have an "unparalleled extension ecosystem"?
Thank you I did read the post. Python has pypi. Ruby has gems. I'm not going to google the rest but if they don't have one there is no reason why they can't. And FYI pypi is better than CPAN so all the other stuff in the that post is crap imho. I was a Perl dev for ~10 years. Now have about 5 worth of Python. So thank you.
gems has no idea if any specific gem is already installed, so if you ask it to, it will just install over whatever is there, no matter if it's the same or not.
Additionally it does not automatically run tests and abort if they fail, so the chance of installing a broken gem over your existing working gem is pretty big.