in reply to Re^3: $VERSION in module files
in thread $VERSION in module files
package Foo; our $VERSION = '1.01'; # ... package Foo::Bar; use Foo; our $VERSION = $Foo::VERSION;
If that's in a single file that may work, I'm not sure, however, I suspect at least some of the tools that rely on a static parse won't be able to handle that.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: $VERSION in module files
by hippo (Bishop) on Mar 26, 2020 at 13:34 UTC | |
by Haarg (Priest) on Mar 27, 2020 at 10:35 UTC | |
by hippo (Bishop) on Mar 27, 2020 at 11:00 UTC | |
by haukex (Archbishop) on Mar 27, 2020 at 11:39 UTC |
In Section
Seekers of Perl Wisdom