depend on perl 5.014

mr3.2.1
Lars Dieckow 13 years ago
parent ee0963eed5
commit 286a853af6

@ -18,6 +18,7 @@ my $builder = Module::Build->new(
'Moose' => 2,
'MooseX::Method::Signatures' => 0,
'parent' => 0,
'perl' => '5.014',
'perl5i::2' => 0,
'strictures' => 1,
'TryCatch' => 0,

@ -6,7 +6,13 @@ Changes - Revision history for Sipwise-Base
=head2 1.004 2013-07-04
declare L<strictures> dependencies, only used for developers
=over
=item declare L<strictures> dependencies, only used for developers
=item Perl minimum version 5.14, brings changes to versioning and a Unicode handling aspect
=back
=head2 1.003 2013-06-17

@ -1,4 +1,5 @@
package Sipwise::Base;
use 5.014;
use utf8;
use Module::Runtime qw(use_module);
use parent 'autodie';

@ -15,12 +15,10 @@ Sipwise::Boilerplate - a template for new code
Copy the following text, outdent it, save to a new file, then fill it in. Delete the C<=for author> POD sections after
you are done with them.
package Something::Or::Other;
package Something::Or::Other 1.000;
use Sipwise::Base;
use namespace::sweep;
our $VERSION = '1.000';
# attributes, methods, package-level code go here
$CLASS->meta->make_immutable;

@ -34,6 +34,13 @@ features of the language that should not be used anymore in new code.
=head3 examples
For modules:
package Foo::Bar 2.001; # 2nd version of revision 2
package Fnord 2.420; # 421st version of revision 2
Otherwise:
our $VERSION = '2.001'; # 2nd version of revision 2
our $VERSION = '2.420'; # 421st version of revision 2
@ -45,7 +52,10 @@ to make this easy, use C<perl-reversion>, which is part of L<Perl::Version>. Inc
to depend on a new features or a changed API from code external to the distribution, it should be followed by a release
of the distribution.
A version is a string consisting of a revision number, a literal dot as separator and a version number, altogether in
When using the L<perlfunc/package> declaration, a version is a rational number. If a C<package> declaration is not
suitable, declare the magic C<$VERSION> variable (see L<perlobj/VERSION($need)>) and then a version is a string.
In any case, the version consists of a revision number, a literal dot as separator and a version number, altogether in
the form C<y.xxx>. C<y> is a natural number, C<xxx> are exactly three zero-padded digits. String quoting prevents
trailing zeroes from disappearing. Padding to the same amount of digits prevents confusion about C<< 1.10 < 1.9 >>.
Having exactly one separator prevents confusion about C<5.10.1 == 5.010001>.

@ -48,4 +48,6 @@ try {
ok $e->isa('Foobar'), 'TryCatch works';
}
ok uc("\xe4") eq "\xc4", 'unicode_strings in effect';
done_testing;

Loading…
Cancel
Save