Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: Why eval $version?

by LanX (Saint)
on Jul 09, 2020 at 13:20 UTC ( [id://11119082]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Why eval $version?
in thread Why eval $version?

I read dagolden's article thrice and my head keeps smoking because of the confusion.

  • I was wondering if this confusion could be fixed with a new keyword version which accepts all formats and converts them.

    Then I realized that numerous tools statically parse .pl/.pm files for $VERSION

  • My next idea was to introduce magic var $VERSION acting like version (kind of tied scalar) and being automatically part of the package (hence no our required)

    Not sure if that's feasable.

  • My last idea was to look for advice in defining standards ...

    (... head has finished smoking, brain is ready to serve now!)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found