=head1 VERSION
-Version 0.10
+Version 0.12
=cut
-our $VERSION = '0.10';
+our $VERSION = '0.12';
=head1 DESCRIPTION
my ($range, $category, $name, $version);
if (defined $args{name}) {
- ($range, $category, $name, $version) = @args{qw/range category name version/};
+ ($range, $category, $name, $version) = @args{qw<range category name version>};
Carp::confess('Category unspecified') unless defined $category;
Carp::confess('Invalid category') unless $category =~ /^$category_rx$/o;
Carp::confess('Invalid name') unless $name =~ /^$name_rx$/o;
}
BEGIN {
- eval "sub $_ { \$_[0]->{$_} }" for qw/category name version range ebuild/;
+ eval "sub $_ { \$_[0]->{$_} }" for qw<category name version range ebuild>;
}
=head2 C<category>
=pod
-This class provides overloaded methods for numerical comparison, string comparison and strigification.
+This class provides overloaded methods for numerical comparison, string comparison and stringification.
=head1 SEE ALSO
=head1 COPYRIGHT & LICENSE
-Copyright 2009,2010 Vincent Pit, all rights reserved.
+Copyright 2009,2010,2011,2012 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.