I would vote for some module that gives us access to the parser. There are a lot of great modules on CPAN that need to do source-filter type of things. Damien Conway went to herculean lengths to parse perl with regexes, and make many of these modules possible, but I don't think he should have needed to. Perl ought to come with a way to localize the state of the parser and iterate the language structure of a given sample of code. This way, every version of perl would be the official source on what it parses, and how, and make all sorts of CPAN modules easier and less error-prone with less dependency bloat.
Aside from that, I'd say some kind of Path::Tiny module, but one which solves the unicode filename problem at the same time. For a language that prides itself on shorthand notations, it's embarrassing to have the file operations look like the C library when it's one of the single most common needs for scripting. My preferred solution would be my proposed enhancement of the "VFS" module, but I didn't find enough tuits to get that moving.
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.