Live data from Hacker News

Modern Perl: The Book: The (draft) PDF

modernperlbooks.com

1–10 of 50 posts

Re: Modern Perl: The Book: The (draft) PDF

#3
post #2

Ok, I am a solid PHP developer, pretty advanced with Ruby, and can do front end code and JQuery with my eyes closed. Should I be interested in Perl? Is there any reason to learn it if I know these other languages? I am genuinely curious

Well, if you are advanced with Ruby then you're probably set.

However, Perl is still an excellent language for building scalable web systems in no time.

With 'Modern Perl' you get 'Ruby on Rails' style of programming in Perl, and with Perl you get the tons of libraries in CPAN.

I wouldn't recommend learning Perl if you already know Ruby. For the same reason I wouldn't learn Python or Ruby because I know Perl. I'd learn something different like Erlang.

Re: Modern Perl: The Book: The (draft) PDF

#4
post #2

Ok, I am a solid PHP developer, pretty advanced with Ruby, and can do front end code and JQuery with my eyes closed. Should I be interested in Perl? Is there any reason to learn it if I know these other languages? I am genuinely curious

On the one hand, I tend to think that learning a new language or tool kit is always a valuable experience. On the other hand I switched from Perl to Ruby as my go-to scripting language about 6 years ago and haven't felt like there were any niches which Perl serviced that Ruby failed to, for my uses.

Still, I'd say try it out for a few small things; you might find that Perl better fits the way you think, and if not, at least you can say you know a bit of Perl if anyone ever asks.

Re: Modern Perl: The Book: The (draft) PDF

#5
post #2

Ok, I am a solid PHP developer, pretty advanced with Ruby, and can do front end code and JQuery with my eyes closed. Should I be interested in Perl? Is there any reason to learn it if I know these other languages? I am genuinely curious

I like Perl. Given what you have said above it would be hard for me to say "Yes, give Perl a try" except to say "You should give Perl a try."

The reason I say that is because a programming language is just like a religion. You will like it or you will not (even with its quirks).

Re: Modern Perl: The Book: The (draft) PDF

#6
post #2

Ok, I am a solid PHP developer, pretty advanced with Ruby, and can do front end code and JQuery with my eyes closed. Should I be interested in Perl? Is there any reason to learn it if I know these other languages? I am genuinely curious

On the one hand, I tend to think that learning a new language or tool kit is always a valuable experience. On the other hand I switched from Perl to Ruby as my go-to scripting language about 6 years ago and haven't felt like there were any niches which Perl serviced that Ruby failed to, for my uses. Still, I'd say try it out for a few small things; you might find that Perl better fits the way you think, and if not, a…

By and large, I've had the opposite problem making a lasting switch from Perl to Ruby.

I know Perl better than most other languages in my toolbox, and it's my default prototyping and one-off utility language. I don't find a lot of niches (for my typical uses, of course) that are served better by Ruby, so it's been really difficult to switch away from Perl.

Re: Modern Perl: The Book: The (draft) PDF

#7
post #2

Ok, I am a solid PHP developer, pretty advanced with Ruby, and can do front end code and JQuery with my eyes closed. Should I be interested in Perl? Is there any reason to learn it if I know these other languages? I am genuinely curious

some interesting comments on Perl: http://lambda-the-ultimate.org/node/3564

This is also good: http://www.perl.com/pub/2007/12/06/soto-11.html

Re: Modern Perl: The Book: The (draft) PDF

#9
post #2

Ok, I am a solid PHP developer, pretty advanced with Ruby, and can do front end code and JQuery with my eyes closed. Should I be interested in Perl? Is there any reason to learn it if I know these other languages? I am genuinely curious

Well, if you are advanced with Ruby then you're probably set. However, Perl is still an excellent language for building scalable web systems in no time. With 'Modern Perl' you get 'Ruby on Rails' style of programming in Perl, and with Perl you get the tons of libraries in CPAN. I wouldn't recommend learning Perl if you already know Ruby. For the same reason I wouldn't learn Python or Ruby because I know Perl. I'd lea…

    With 'Modern Perl' you get 'Ruby on Rails' style of programming in Perl
What exactly does that mean? Optional parenthesis on method invocations? Considerable use of convention over configuration? Built-in object mapping to database schemas?

Re: Modern Perl: The Book: The (draft) PDF

#10
post #2

Ok, I am a solid PHP developer, pretty advanced with Ruby, and can do front end code and JQuery with my eyes closed. Should I be interested in Perl? Is there any reason to learn it if I know these other languages? I am genuinely curious

I went from Perl to Ruby about 10 years ago, and I can't say there's anything I miss. Certainly, at the start, running Web apps was easier in Perl because most servers had mod_perl out of the box. But for day-to-day tasks I found I much preferred Ruby. The reasons for this, though, are as likely personal aesthetics as anything else.

Nowadays Phusion Passenger makes Rack-based Web apps snake-simple, and using JRuby gives me all of the Java libs out there (including Swing for insanely-easy cross-platform GUI apps when teamed with Monkeybars), as well the option to deploy Web apps as war files to Java app servers.

At this point the interest in Perl would have to be due to some intrinsic language feature that might help broaden your ideas about programming in general (the way that, say, Haskell or Io might).

Post reply on HN