Skip to content

Commit

Permalink
[i] Minor inner refactoring
Browse files Browse the repository at this point in the history
Took 7 minutes
  • Loading branch information
AlexP007 committed Jan 16, 2022
1 parent f9c9e72 commit 62a093b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.24 2022-01-16 10:59:29 Europe/Moscow
- Minor inner refactoring

1.23 2022-01-15 20:19:14 Europe/Moscow
- Start using feature qw(signatures)

Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license = Perl_5
copyright_holder = Alexander Panteleev
copyright_year = 2022

version = 1.23
version = 1.24

[AutoPrereqs]

Expand Down
4 changes: 2 additions & 2 deletions lib/Regex/Object.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use Moo;
no warnings qw(experimental::signatures);
use namespace::clean;

our $VERSION = '1.23';
our $VERSION = '1.24';

tie my %nc, "Tie::Hash::NamedCapture";
tie my %nca, "Tie::Hash::NamedCapture", all => 1;
Expand Down Expand Up @@ -83,7 +83,7 @@ Regex::Object - solves problems with global Regex variables side effects.
=head1 VERSION
version 1.23
version 1.24
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion lib/Regex/Object/Match.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ has success => (
is => 'rwp',
);

sub BUILD($self, $args) {
sub BUILD($self, $) {
$self->_set_success(defined $self->match);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Regex/Object/Matches.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ has count => (
is => 'rwp',
);

sub BUILD($self, $args) {
sub BUILD($self, $) {
$self->_set_count(scalar @{$self->collection});
}

Expand Down

0 comments on commit 62a093b

Please sign in to comment.