Subject: | Accidentally finding Perl Versions in XML.... |
perl -MPerl::MinimumVersion -E 'say Perl::MinimumVersion->new(\q[<link></link><description></description>])->minimum_syntax_version' # 5.021008
perl -MPerl::MinimumVersion -E 'say Perl::MinimumVersion->new(\q[<link></link><description></descriptioo>])->minimum_syntax_version' # 5.013010
perl -MPerl::MinimumVersion -E 'say Perl::MinimumVersion->new(\q[<link>http://</link>])->minimum_syntax_version' # 5.010
Naturally, you'd say "don't do this, it hurts when I do this"... but it doesn't help when some tool decides to accidentally parse all files in a folder and silently communicate its dependencies.
I can't even explain *why* it produces this output, or _where_ these numbers come from.
5.21.8 came out *after* the last Perl::MinimumVersion, so its probably in some mystical place hiding from me.
I don't know what is going on here, I'm just going to avoid the problem by relocating my files into a place the bad code won't touch me :(
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )