develooper Front page | perl.module-authors | Postings from November 2008

Re: Integrating license related things of CPAN

Thread Previous | Thread Next
From:
Ken Williams
Date:
November 3, 2008 12:53
Subject:
Re: Integrating license related things of CPAN
Message ID:
6a7ee8cc0811031253p4e7c404fodf1981fed14649e6@mail.gmail.com
On Mon, Nov 3, 2008 at 2:05 PM, Dr.Ruud <rvtol+news@isolution.nl> wrote:
> Suggestion for a core license.pm:
>
> package license;
> $LICENSE = "perl";
> 1;
>
> sub import {
>  eval sprintf q/*%s::LICENSE=\\"%s"/,
>    scalar caller,
>    @_ == 2 ? $_[1] : join ",", @_[1..$#_];
>  1;
> }
> __END__
>
> (and C<use license ... ;> should be compiled away unless at
> distribution-time)

What itch is this animal intended to scratch?

 -Ken

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About