in reply to From PHP to Perl - Should I, and how?

You might want to get "Catalyst" by Jonathan Rockway, ISBN 978-1-847190-95-6 Also maybe read up on the Template::Toolkit module.
As for "importing" a perl library (called "modules" in Perl linguo), not very difficult : - find it on CPAN (http://kobesearch.cpan.org/) - install it - in your program, add a "use my::module;" line. That's all there is to it (well, almost ;-) ).
The on-line documentation for most perl modules is also excellent, and a really good source of information about the general theme the module is about. I recommend it even to people who have no intention of ever using Perl.
  • Comment on Re: From PHP to Perl - Should I, and how?

Replies are listed 'Best First'.
Re^2: From PHP to Perl - Should I, and how?
by Anonymous Monk on Mar 10, 2009 at 11:53 UTC
    ++ on Template Toolkit. That's a big reason my company hasn't moved to something else (We're a fortune 500 that uses perl internally for almost everything). CPAN is another - being able to install and update libraries is great. We use CGI::Application instead of Catalyst, and I'd probably suggest it instead of catalyst for someone starting out, but both are perfectly capable.

      Say... does that mean you're hiring?   Contact me...  :-D

      Actually, I don't have any Catalyst apps out there right now, either. I quoted it because it's got a very large and very diverse list of add-ons right now in CPAN. A very good demonstration of just how much you can do, within one framework, and still be totally “within Perl,” and “within just one (of many) framework(s) within Perl.”

      I can't think of a better demonstration against:   “this is the one-and-only PHP, and therefore all we've got to work with is this one-size-fits-all, so we gotta figure out a way to make this thing work somehow.”

      Thanks for pointing that out, I'll be sure to look at that as well. I was enticed by the 906 results on CPAN ;-).