Subject: | Perl::Critic::Policy::Modules::RequireVersionVar fails at *.pl script |
At page 404, Chapter 17: Modules, Damian Conway describes to use the
version module.
The version number can used as
use MyModule 1.23 qw(imports);
How can I use my_script.pl? I can not. Why should I set a $VERSION
number?
The first code line in a *.pm file describes the package. After that a
$VERSION should be found.