Thank you so much haukex you hit the nail on the head!

Interesting code. In a previous answer choroba mentions other smart comment schemes. Been coding in Perl for many years and I've always thought about doing stuff like this and never knew they existed.

Material for a larger Meditation...

I feel there is so much stuff on the CPAN that we don't leverage but there is also a lot of useless and redundant stuff. The add to favourites in meta::cpan is helpful but I don't think many people use it. Not sure how well popularity contest worked for the Debian folks (I switched all my servers to FBSD circa 2006 and have lost track of the Linux world), but maybe if there is some way we can do something similar (yeah, I know, it's probably on the CPAN already but I don't know about it).

Maybe there exists something we can stick in our code and send some anonymous stats to used modules etc. There's probably tons of security concerns but maybe a command line you could run ad-hoc and send anonymized stats about your Perl code. It would have to be something pretty easy to enable or execute else people won't use it. There could also be some incentive for people to use it, like PerlCoin lol.

It would also help keep track of people using Perl around the world, how they are using, what they are using from the CPAN, and do away with stupid myths like Perl is dying, Perl is dead, nobody uses Perl, etc.


In reply to Re^2: Strange and special comments in OpenXPKI Code in the form ##! 2: "new: class instantiated" in OpenXPKI Code by ait
in thread Strange and special comments in OpenXPKI Code in the form ##! 2: "new: class instantiated" in OpenXPKI Code by ait

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.