Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • When I used Module::Install it (a) griped about me citing GPL then "All Rights Reserved", then also (b) detected a "same terms as Perl itself" statement, and finally (c) wrote the META.yml for me.

    That suggests some smarts are in there somewhere, so my suggestion would be to check that dist out.

    ...specifically sub license_from() in Module/Install/, now I've looked!

    • That's not smart enough. It's just looking for strings in files without knowing anything about their context. It doesn't discover license versions either.

      Thanks though :)

      • Software::License is an extended, refactored version of what's in M:I. I'm not sure exactly what you want beyond what M:I does, though, so I have no idea if S:L is more useful at all.

        • I looked at Software::License, but it looked like something that went the other way. All I saw was stuff to write the correct text somewhere.

          I'm indexing BackPAN, so I want to look at a bunch of files I can't change and get an answer back about what license is present, no matter what they have done.

          For instance, some of the files might not have any license notice, but the distro has a COPYING file.

          I'm not concerned about any legal stuff and what people should do, just what they have done (that I can't chang