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.