Perl is IMO still very powerful in the areas it has always been powerful in: text processing (regexes etc.), system administration, web development, and so on. Glancing over at *NIX help forums today shows that people are still getting a lot done with sed, awk, and perl one-liners. It's also come into use in the bioinformatics world, AFAIK for its power in handling text files. But Perl has also grown a significant amount:
what are hot items on CPAN these days?
Just to name a few "modern" ones:
Although not exactly new, there are some other nice frameworks/libraries that IMO make Perl more "modern":
- Update: Strawberry Perl, perlbrew, plenv, and berrybrew
- Update: App::cpanminus (cpanm)
- Update: RJBS's set of Email::* modules, such as Email::Stuffer
- PDL for scientific numeric calculations (Update: I'm also a fan of Math::Prime::Util and ::GMP)
- event loop frameworks like POE and Mojo::IOLoop
- date/time manipulation via DateTime (Update: or, for simpler stuff, Time::Piece is in the core)
- file(name) manipulation via e.g. Path::Class or Path::Tiny, as well as modules like File::Find::Rule
- XML handling via e.g. XML::LibXML or XML::Twig, and many more
- many GUI frameworks
- Update: Try::Tiny (gives Perl a try "keyword" and hides some of the issues with eval)
- Devel::Cover for code coverage and Devel::NYTProf for profiling
- Update: Definitely not new, but I like the core modules that provide an OO interface such as File::stat, User::pwent, and Time::localtime (although Time::Piece is probably better than the latter nowadays)
Probably other monks can point out some of the "big ones" I've missed - see also Task::Kensho for even more modules. In general, I think even many of the modules that have been around for a really long time have matured to the point where they are more robust, have good test suites, etc. (e.g. Template, just to name one of many) - either that, or, in some cases, are now generally recommended against or deprecated.
Various minor edits, and updates as indicated.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||