You made my point for me, which was "Where do you draw the line in overkill?". Using a standard module to the extent it can be used is, very often, the difference between ease of porting and a month's rewrite (q.v. nodes to that effect on this site).
We are in agreement on the standard template for a given operation, regex or not. The point I was trying to make is that, just as regexen are first-class citizens, so are CPAN modules, especially those modules that are in the core. Although 99% of those using File::Basename will never need to port to VMS, the 30-40% of us who work in the Win/*nix world are very happy to not have to worry about '/' vs. '\'. That's why I promote solutions that use the modules that are both in the core and in the list of commonly-accepted modules. (DBI, CGI::Application, HTML::Template, Template, *::Utils, Text::xSV, etc.)
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
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:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.