| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
pattern is a qr.
Message-ID: <9b18b3110703210239x540f5ad9mdb41c2ea6229ac31@mail.gmail.com>
plus two follow-up patches (minor tweaks)
p4raw-id: //depot/perl@30678
|
|
|
|
|
| |
Message-ID: <9b18b3110703080120s41147a4fh4f4c1f9817079be3@mail.gmail.com>
p4raw-id: //depot/perl@30518
|
|
|
|
|
| |
Message-ID: <9b18b3110703071144t787e028s8a79fa1986624b54@mail.gmail.com>
p4raw-id: //depot/perl@30517
|
|
|
|
|
| |
changes that have crept into the GPL v2.
p4raw-id: //depot/perl@30408
|
|
|
|
|
| |
bleadperl.
p4raw-id: //depot/perl@29419
|
|
|
|
|
|
| |
From: Len Weisberg (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-39026-132847.17.5801704932685@perl.org>
p4raw-id: //depot/perl@29283
|
|
|
|
|
| |
Message-ID: <44B6A8B3.5070605@iki.fi>
p4raw-id: //depot/perl@28568
|
|
|
|
|
|
| |
(Documented, but I regard this as a serious practical deficiency in
tainting)
p4raw-id: //depot/perl@28185
|
|
|
| |
p4raw-id: //depot/perl@28177
|
|
|
|
|
|
|
|
| |
Message-ID: <20060327133407.GA16901@woobling.org>
(also rename old Tie::RefHash test, so several test files
are allowed.)
p4raw-id: //depot/perl@27628
|
|
|
|
|
| |
Message-ID: <441D3EC1.20902@gmail.com>
p4raw-id: //depot/perl@27541
|
|
|
| |
p4raw-id: //depot/perl@26804
|
|
|
| |
p4raw-id: //depot/perl@26454
|
|
|
|
|
|
| |
From: "Piotr Fusik" <pfusik@op.pl>
Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec>
p4raw-id: //depot/perl@25261
|