# Because Mouse::Util is loaded first in all the Mouse sub-modules,
# XS loader is placed here, not in Mouse.pm.
- our $VERSION = '0.49';
+ our $VERSION = '0.50_01';
my $xs = !(exists $INC{'Mouse/PurePerl.pm'} || $ENV{MOUSE_PUREPERL});
}
sub quoted_english_list {
- return qq{'$_[0]'} if @_ == 1;
-
- my @items = sort @_;
-
- return qq{'$items[0]' and '$items[1]'} if @items == 2;
-
- my $tail = pop @items;
-
- return join q{, }, (map{ qq{'$_'} } @items), qq{and '$tail'};
+ return english_list(map { qq{'$_'} } @_);
}
# common utilities
require 'Data/Dumper.pm'; # we don't want to create its namespace
my $dd = Data::Dumper->new([$self]);
- $dd->Maxdepth(defined($maxdepth) ? $maxdepth : 2);
+ $dd->Maxdepth(defined($maxdepth) ? $maxdepth : 3);
$dd->Indent(1);
return $dd->Dump();
}
=head1 VERSION
-This document describes Mouse version 0.49
+This document describes Mouse version 0.50_01
=head1 IMPLEMENTATIONS FOR