| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
These tests were still handrolling TAP output. I've dragged the tests
into this century by porting them to Test::More.
For: https://github.com/Perl/perl5/pull/19288
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Having to count tests is annoying for maintainers.
Also, manually updating count tests is problematic when multiple people
are working on the same code; it causes merge conflicts and recounts.
done_testing() is available since Test::More 0.88 which was released in
2009.
This commit changes all tests under lib/ that use Test::More and were
planning the number of tests.
Michiel Beijen is now a Perl author
|
|
|
|
| |
See https://github.com/Perl/perl5/issues/18830 for initial discussion.
|
|
|
|
|
| |
Mostly in comments and docs, but some in diagnostic messages and one
case of 'or die die'.
|
|
|
|
|
|
|
|
|
|
| |
Fixes #16262
BINMODE was not handling the LAYER argument.
Also bump the version number.
(cherry picked from commit 479d04b98e5b747e5c9ead7368d3e132f524a2b7)
Signed-off-by: Nicolas R <atoomic@cpan.org>
|
|
|
|
|
|
|
|
| |
Using vars pragma is discouraged and has been superseded by 'our' declarations
available in Perl v5.6.0 or later.
This commit is about replacing the usage of 'vars' pragma
by 'our' in 'lib' directory.
|
|
|
|
|
|
|
|
|
|
| |
Switch from two-argument form. Filehandle cloning is still done with the two
argument form for backward compatibility.
Committer: Get all porting tests to pass. Increment some $VERSIONs.
Run: ./perl -Ilib regen/mk_invlists.pl; ./perl -Ilib regen/regcharclass.pl
For: RT #130122
|
|
|
|
|
|
| |
This is my quick-and-dirty script:
find dist -print0 | xargs -0 perl -pi -e 'BEGIN { %map = split " ", join "", `cat pb2rt.txt` } s/(?<!\d)\d{8}\.\d{3}(?!\d)/$& (#$map{$&})/g'
|
|
|
|
|
| |
Patch received from Ruud H.G. van Tol <rvtol@isolution.nl>.
Committer added ++$VERSION and Porting/checkAUTHORS.pl change.
|
|
|
|
| |
after recent fixes
|
|
|
|
| |
the WRITE method was ignoring its offset argument.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[perl #120202]
The following code demonstrates the problem:
use Tie::Handle;
my $out = do { no warnings 'once'; \ local *HANDLE };
tie *$out, 'Tie::StdHandle', '>&', \ *STDOUT or die;
$\ = "haha\n";
print $out "hihi\n";
which prints
hihi
haha
haha
The string in $\ has been added twice, once explicitly by
Tie::Handle::PRINT and another time implicitly by the use of
(CORE::) print in Tie::StdHandle::WRITE.
The bug also affects the use of say() with tied handles where a spurious
newline is added by the same effect.
[ test added by davem ]
|
|
|
|
|
| |
It writes to "afile", but initially deleted "afile.new" if it already
existed.
|
|
|
|
| |
print "ok 13\n" is *so* 1990's.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Tie::StdHandle::READ was ignoring the optional fourth argument to
read(), specifying the offset into the target string.
|
| |
|
|
|
|
|
|
| |
$[ remains as a variable. It no longer has compile-time magic.
At runtime, it always reads as zero, accepts a write of zero, but dies
on writing any other value.
|
|
|
|
|
| |
Including all @INC setting boilerplate from lib/Tie/ExtraHash.t, which TestInit
now performs.
|
|
|
|
|
|
|
|
|
| |
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81890]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81890 >
Signed-off-by: Abigail <abigail@abigail.be>
|
|
|
|
| |
Initially move only Tie::Hash::NamedCapture::flags from universal.c to it.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This makes a qw(...) list literal a distinct token type for the
parser, where previously it was munged into a "(",THING,")" sequence.
The change means that qw(...) can't accidentally supply parens to parts
of the grammar that want real parens. Due to many bits of code taking
advantage of that by "foreach my $x qw(...) {}", this patch also includes
a hack to coerce qw(...) to the old-style parenthesised THING, emitting
a deprecation warning along the way.
|
|
|
|
|
| |
This change is analogous to bc3707112523ba7a in Tie::Scalar, but with far fewer
tests.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: David Golden <dagolden@cpan.org>
|
|
|
|
| |
This commits traps the recursion and throws an exception.
|
| |
|
|
|
|
|
|
| |
This should fix issue #72878. Before calling $pkg -> new in TIESCALAR,
we check whether $pkg -> new is actually the new defined in the Tie::Scalar
package; if true, croak instead of calling it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
p4raw-id: //depot/perl@34859
|
|
|
|
|
|
|
|
|
|
| |
since 5.8.8, ready for merging into maint-5.8 prior to 5.8.9.
(Many (all?) of these should really have been changed prior to
5.10.0, but better late than never.)
Also modify cmpVERSION.pl to skip uninstalled test modules whose
VERSIONs don't really matter.
p4raw-id: //depot/perl@34365
|
|
|
|
|
| |
Message-Id: <1210795767-21221-1-git-send-email-ntyni@debian.org>
p4raw-id: //depot/perl@33827
|
|
|
| |
p4raw-id: //depot/perl@33099
|
|
|
|
|
| |
Message-Id: <46B8F683.7040607@pobox.com>
p4raw-id: //depot/perl@31689
|
|
|
|
|
|
| |
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80706031324y5618d519p460da27a2e7fe712@mail.gmail.com>
p4raw-id: //depot/perl@31341
|
|
|
|
|
| |
Message-ID: <20070507153508.GZ17982@woobling.org>
p4raw-id: //depot/perl@31166
|