in reply to Re: $VERSION in module files
in thread $VERSION in module files

I thought I was cargo culting but just confirmed that module-starter does it (and use it to start a module):

> module-starter --module=Foo::Bar,Foo::Bat --author="XYZ" --email=abc +@xyz.com > cat Foo-Bar/lib/Foo/Bar.pm ... =head1 NAME Foo::Bar - The great new Foo::Bar! =head1 VERSION Version 0.01 =cut our $VERSION = '0.01';

Replies are listed 'Best First'.
Re^3: $VERSION in module files
by syphilis (Archbishop) on Mar 27, 2020 at 13:13 UTC
    I thought I was cargo culting but just confirmed that module-starter does it (and use it to start a module)

    Yeah, fair enough ... but that sort of begs 2 additional questions:
    1) What happens if you don't put a =head1 VERSION section in your pod;
    2) Why has the absence of such a pod heading in any of my modules not caused me any problems - not to mention unbearable embarrassment and humiliation ?

    Sorry ... I'm being a bit of a halfsmartarse in posing it that way.
    Nothing against you, bliako, I'm really just wondering if there's some point in going to such lengths.

    Cheers,
    Rob