in reply to Re^4: Question about making modules.
in thread Question about making modules.

Perl doesn't have "pragmas". It has modules. Some module names are in lower-case. This is a community standard (not always followed!) to indicate that they affect something about the guts of how Perl works. Often, these modules will turn on a switch to enable (or disable) something with the Perl interpreter. Read the code of strict for more information about that.

As for version, all it does is provide the qv() function. This looks like qq, qw, and qr, so it's considered ok to be a pragma. But, that's all it does. If you want to use it, that's whatever. But, it's not as clean as you might like.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Replies are listed 'Best First'.
Re^6: Question about making modules.
by linuxer (Curate) on Jul 07, 2008 at 13:12 UTC

    I don't wanna start a discussion about the term "pragma" here (if perl has some or not or whatever). So I just thank you for your reply. It was clarifying enough for me.

    Thanks.