Subject: | Allow VERSION declarations in BEGIN blocks prior to use strict; use warnings; |
As mentioned in https://rt.cpan.org/Ticket/Display.html?id=28676:
It'd be nice to allow declaring VERSION in a BEGIN block:
package App::perlhl;
BEGIN {
$App::perlhl::VERSION = '0.002';
}
use strict;
use warnings;
#...
without warning about having code before strict and warnings.