# from Zefram # on Sunday 22 March 2009 13:31: >If S::L is not >installed then the ->_license_url() method is used to look up the URL > in a hash. The hash that it uses is keyed by "perl"-style keys, but > it's being given the "Perl_5" key. So it returns undef, and the > META.yml comes out looking like this: > > license: perl > resources: > license: ~
https://rt.cpan.org/Ticket/Display.html?id=44453 Indeed. It has just been fixed in r12625. Would you like to write a test which somehow makes Software::License *not* load (maybe an @INC hook?) so we can catch this sort of thing without needing to e.g. uninstall S::L? I would think something in xt/ would be fine -- that is: it doesn't necessarily need to work on all versions of Perl/platforms and it would be acceptable to depend on some Devel:: modules or whatever. Thanks, Eric -- I arise in the morning torn between a desire to improve the world and a desire to enjoy the world. This makes it hard to plan the day. --E.B. White --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------
