Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How Critical is Critic?

by pryrt (Abbot)
on May 29, 2023 at 13:43 UTC ( [id://11152466]=note: print w/replies, xml ) Need Help??


in reply to How Critical is Critic?

I was surprised at the number of complaints about eval $VERSION because I was sure I had seen it recommended somewhere (though I never chose to use it in my modules). Some searching shows eval $VERSION in modules? as a good discussion. Essentially, as I understand it, one might want the CPAN to see the underscore to tell that it's an alpha version, but want all the version tools to still compare correctly.

Replies are listed 'Best First'.
Re^2: How Critical is Critic?
by Bod (Parson) on May 29, 2023 at 17:45 UTC
    I was sure I had seen it recommended somewhere (though I never chose to use it in my modules)

    Exactly! It came from a recommendation...I cannot find it right now but I recall copying it from advice about module versioning.

    Essentially, as I understand it, one might want the CPAN to see the underscore to tell that it's an alpha version...

    And my version is 0.1_1!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-16 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found