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

Re: Why eval $version?

by davido (Cardinal)
on Jul 09, 2020 at 15:00 UTC ( [id://11119090]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        perl -MExtUtils::MakeMaker -le 'print MM->parse_version(shift)' \
    
                                                                'Foo.pm'
    
  2. or download this
      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
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-26 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found