Greetings, Monks!
I am still rather new to Perl Monks and have just this morning uploaded my first CPAN module,
Filter::Comments::C, which is supposed to provide a mechanism to use C-style block comments, in order to make commenting large blocks of code easier.
Off the bat, do you see any issues? Actually, do you even see a use for such a module. I know there is some worthless code in there, such as the $self->{Start} parameter (which is a line marker of where a comment started if I'm in a comment). I thought I'd need it when I started, but turned out to be nothing useful. What could be done to improve it, and what other tests would you implement? I am already looking at implementing a few others (Kwalitee, as well as some POD checks). I was going to put in C++ style comments (//), but then my colleague,
Trizor, reminded me that 5.10 will use '//' as an operator. Do you think I should still implement it as an optional feature or have the source filter only like that commenting style if it matches m/^\/\// or something?
Keep in mind... This is my first released module. So please be harsh about any mistakes, so they won't come up again.
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.