diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-09-24 21:52:41 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-09-24 21:54:38 -0700 |
commit | fbff26bcac0ac41e44778278aca063f82c1d70e0 (patch) | |
tree | b596642338bff53747492ebdd0ce015e7d90a19a /pod/perlmodstyle.pod | |
parent | 8eff31e6ddbcd94a1ff3d6489062907d5b84d9d9 (diff) | |
download | perl-fbff26bcac0ac41e44778278aca063f82c1d70e0.tar.gz |
Long verbatim lines in perlmodstyle
Diffstat (limited to 'pod/perlmodstyle.pod')
-rw-r--r-- | pod/perlmodstyle.pod | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pod/perlmodstyle.pod b/pod/perlmodstyle.pod index 5a52eaf9a4..1e9a6a96a4 100644 --- a/pod/perlmodstyle.pod +++ b/pod/perlmodstyle.pod @@ -630,9 +630,11 @@ don't want CPAN.pm to list it as most recent use an '_' after the regular version number followed by at least 2 digits, eg. 1.20_01. If you do this, the following idiom is recommended: - our $VERSION = "1.12_01"; # so CPAN distribution will have right filename + our $VERSION = "1.12_01"; # so CPAN distribution will have + # right filename our $XS_VERSION = $VERSION; # only needed if you have XS code - $VERSION = eval $VERSION; # so "use Module 0.002" won't warn on underscore + $VERSION = eval $VERSION; # so "use Module 0.002" won't warn on + # underscore With that trick MakeMaker will only read the first line and thus read the underscore, while the perl interpreter will evaluate the $VERSION |