John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
The only explaination I've seen is actually in perlvar, under $^V.
So, "use version" feature will now use this new literal form. But the version check on use for module imports does not! The code in Exporter::Heavy looks for a string beginning with a digit.
So, how does one check for the presence of a new-style version literal? Could check for a small chr, which won't be a printable string until v32, but that seems crude.
—John
Edit kudra, 2001-07-20 Changed title to include 'vector of ordinals' as suggested
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: v1.2.3 syntax
by tye (Sage) on Jul 19, 2001 at 09:59 UTC | |
by John M. Dlugosz (Monsignor) on Jul 19, 2001 at 18:55 UTC | |
|
Re: v1.2.3 syntax
by converter (Priest) on Jul 19, 2001 at 09:29 UTC | |
|
Re: v1.2.3 syntax
by Zaxo (Archbishop) on Jul 19, 2001 at 08:11 UTC | |
|
Re: v1.2.3 syntax
by petral (Curate) on Jul 19, 2001 at 09:16 UTC | |
by John M. Dlugosz (Monsignor) on Jul 19, 2001 at 19:11 UTC |