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.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|