Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: $VERSION in module files

by bliako (Parson)
on Mar 27, 2020 at 12:44 UTC ( #11114718=note: print w/replies, xml ) Need Help??


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 (Bishop) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11114718]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2020-07-09 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?