Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I wish you had given this normal capitalization and not called it a pragma. Pragmas by definition are shipped with core perl. This may be a useful module, but calling it a pragma only muddies the waters.
    • It hadn't occured to me yet and, in fact, I had to look for a pretty long time before I found the term "default module" in perlglossary for pragma. I think you mean that sentence. That was a fault on my part, so sorry for that.

      But there seems to be oil all over the ocean already: autorequire [], version [] (will be ok then in 5.9 I guess), fake [], all [],

      Ordinary morality is for ordinary people. -- Aleister Crowley
      • I don't mean to single you out. You're certainly not the only one to do it. I think it's better to stick with the standard though, and avoid calling CPAN modules pragmas or naming them all lowercase.
        • No worries, I'm not feeling singled out :) Though in my opinion it would have been more confusing to name it Namespace::Clean and affect the local package the way it does. I, and I had the impression that many others too, understand the term 'pragma' more as 'altering behaviour or environment' vs. the 'providing code' situation of library modules.

          Ordinary morality is for ordinary people. -- Aleister Crowley