Skip to content

Commit 4caba6a

Browse files
committed
Update Text-Balanced from 2.06 to 2.07
1 parent 111814a commit 4caba6a

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

Porting/Maintainers.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ package Maintainers;
11401140
},
11411141

11421142
'Text::Balanced' => {
1143-
'DISTRIBUTION' => 'SHAY/Text-Balanced-2.06.tar.gz',
1143+
'DISTRIBUTION' => 'SHAY/Text-Balanced-2.07.tar.gz',
11441144
'FILES' => q[cpan/Text-Balanced],
11451145
},
11461146

cpan/Text-Balanced/lib/Text/Balanced.pm

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use Exporter ();
1818

1919
use vars qw { $VERSION @ISA %EXPORT_TAGS };
2020
BEGIN {
21-
$VERSION = '2.06';
21+
$VERSION = '2.07';
2222
@ISA = 'Exporter';
2323
%EXPORT_TAGS = (
2424
ALL => [ qw{
@@ -1005,7 +1005,8 @@ sub extract_multiple (;$$$$) # ($text, $functions_ref, $max_fields, $ignoreun
10051005
{
10061006
$unkpos = pos($$textref)-1
10071007
unless $igunk || defined $unkpos;
1008-
_update_patvalid($textref, substr $$textref, $unkpos, pos($$textref)-$unkpos);
1008+
_update_patvalid($textref, substr $$textref, defined $unkpos ? $unkpos : 0,
1009+
pos($$textref) - (defined $unkpos ? $unkpos : 0));
10091010
}
10101011
}
10111012
@@ -2368,16 +2369,14 @@ Bug reports and suggestions can be made on the CPAN Request Tracker at
23682369
L<https://rt.cpan.org/Public/Bug/Report.html?Queue=Text-Balanced>.
23692370
23702371
Currently active requests on the CPAN Request Tracker can be viewed at
2371-
L<https://rt.cpan.org/Public/Dist/Display.html?Status=Active;Queue=Text-Balanced>.
2372+
L<https://rt.cpan.org/Public/Dist/Display.html?Queue=Text-Balanced>.
23722373
2373-
Please test this distribution. See CPAN Testers Reports at
2374+
Please test this distribution. See CPAN Testers at
23742375
L<https://www.cpantesters.org/> for details of how to get involved.
23752376
2376-
Previous test results on CPAN Testers Reports can be viewed at
2377-
L<https://www.cpantesters.org/distro/T/Text-Balanced.html>.
2378-
2379-
Please rate this distribution on CPAN Ratings at
2380-
L<https://cpanratings.perl.org/rate/?distribution=Text-Balanced>.
2377+
Previous test results on CPAN Testers can be viewed at
2378+
L<https://www.cpantesters.org/distro/T/Text-Balanced.html> and
2379+
L<https://fast2-matrix.cpantesters.org/?dist=Text-Balanced>.
23812380
23822381
=head1 AVAILABILITY
23832382
@@ -2421,11 +2420,11 @@ License or the Artistic License, as specified in the F<LICENCE> file.
24212420
24222421
=head1 VERSION
24232422
2424-
Version 2.06
2423+
Version 2.07
24252424
24262425
=head1 DATE
24272426
2428-
05 Jun 2022
2427+
08 Aug 2025
24292428
24302429
=head1 HISTORY
24312430

0 commit comments

Comments
 (0)