|Subject:||Code getting stripped out by licensizer|
|Date:||Thu, 10 Oct 2013 10:50:00 -0700 (PDT)|
|To:||bug-Pod-Licensizer [...] rt.cpan.org|
|From:||Slobodan Mišković <slobodan [...] miskovic.ca>|
On files with existing AUTHOR and LICENSE blocks that are not at the end of file (eg. as scafolded by catalyst) licensizer deletes all the code following the existing author/license blocks. Eg., say we have =encoding utf8 =head1 AUTHOR Slobodan Miskovic =head1 LICENSE This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. =cut __PACKAGE__->meta->make_immutable; 1; after licensizer runs it will completely wipe out the __PACKAGE__->meta->make_immutable; 1; and any subs that might reside there too. The only workaround i found is to manually remove licensing blocks first and then run the licensizer, which is a pain.