Skip to content

Commit

Permalink
ws
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyink committed Apr 8, 2021
1 parent 8423fa0 commit 649c621
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/LINQ/FieldSet/Assertion.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ my $_process_args = sub {

my ( $self, @other ) = @_;
my $other = __PACKAGE__->new( @other );
return ( $self, $other );
return ( $self, $other );
};

our $AUTHORITY = 'cpan:TOBYINK';
Expand Down Expand Up @@ -101,8 +101,8 @@ my $_like_to_regexp = sub {
my @parts = split qr{(\\*[.%])}, $like;
for my $p ( @parts ) {
next unless length $p;
my $backslash_count =()= $p =~ m{(\\)}g;
my $wild_count =()= $p =~ m{([%.])}g;
my $backslash_count =()= $p =~ m{(\\)}g;
my $wild_count =()= $p =~ m{([%.])}g;
if ($wild_count) {
if ( $backslash_count && $backslash_count % 2 ) {
my $last = substr( $p, -2, 2, '');
Expand Down

0 comments on commit 649c621

Please sign in to comment.