summaryrefslogtreecommitdiff
path: root/lib/Tie
Commit message (Collapse)AuthorAgeFilesLines
* bump Tie::StdHandle versionDavid Mitchell2013-10-231-1/+1
| | | | after recent fixes
* Tie::StdHandle::WRITE: handle offsetDavid Mitchell2013-10-232-2/+9
| | | | the WRITE method was ignoring its offset argument.
* Tie::StdHandle appends extra copies of $\ to outputAnno Siegel2013-10-232-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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 ]
* stdhandle.t: unlink the right file.David Mitchell2013-10-231-1/+1
| | | | | It writes to "afile", but initially deleted "afile.new" if it already existed.
* stdhandle.t: convert to use Test::MoreDavid Mitchell2013-10-231-35/+30
| | | | print "ok 13\n" is *so* 1990's.
* Increase $Tie::Scalar::VERSION to 1.03Father Chrysostomos2013-06-221-1/+1
|
* Increase $Tie::Hash::VERSION to 1.05Father Chrysostomos2013-06-221-1/+1
|
* Increase $Tie::Array::VERSION to 1.06Father Chrysostomos2013-06-221-1/+1
|
* Fixed verbatim lines in POD over 79 charactersBrian Gottreu2013-06-223-9/+12
|
* [perl #112826] Make Tie::StdHandle::READ respect offsetFather Chrysostomos2012-06-222-3/+7
| | | | | Tie::StdHandle::READ was ignoring the optional fourth argument to read(), specifying the offset into the target string.
* Increase $Tie::StdHandle::VERSION to 4.3Father Chrysostomos2012-06-221-1/+1
|
* remove index offsetting ($[)Zefram2011-09-091-4/+1
| | | | | | $[ 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.
* Remove Mac OS classic code from tests in lib.Nicholas Clark2011-01-181-9/+0
| | | | | Including all @INC setting boilerplate from lib/Tie/ExtraHash.t, which TestInit now performs.
* Fix typos (spelling errors) in lib/*Peter J. Acklam) (via RT2011-01-071-1/+1
| | | | | | | | | # 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>
* Convert lib/Tie/Hash/NamedCapture.pm to an XS module in ext/Nicholas Clark2010-10-141-62/+0
| | | | Initially move only Tie::Hash::NamedCapture::flags from universal.c to it.
* Remove qw(...) as parentheses deprecated warningsPaul Johnson2010-09-101-1/+1
|
* make qw(...) first-class syntaxZefram2010-09-081-1/+1
| | | | | | | | | | 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.
* Stop Tie::Hash->TIEHASH() looping forever.Nicholas Clark2010-09-012-4/+28
| | | | | This change is analogous to bc3707112523ba7a in Tie::Scalar, but with far fewer tests.
* Add tests for Tie::ExtraHashDavid Cantrell2010-08-021-0/+50
|
* Bump module version numbersDavid Golden2010-07-191-1/+1
|
* Make example work with "use strict" by eliminating barewords.Alexandr Ciornii2010-07-151-3/+3
| | | | Signed-off-by: David Golden <dagolden@cpan.org>
* Bram pointed out the new tests hang if the fix for #72878 isn't in place.Abigail2010-02-221-5/+16
| | | | This commits traps the recursion and throws an exception.
* Upped VERSIONAbigail2010-02-211-1/+1
|
* Don't recurse forever if both new() and TIESCALAR() are missing.Abigail2010-02-202-4/+49
| | | | | | 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.
* Document differences between Tie::Scalar and Tie::StdScalarAbigail2010-02-201-0/+12
|
* Moved Tie-RefHash from lib/ to ext/Chris Williams2009-09-115-781/+0
|
* Move Tie::Memoize from lib to extSteffen Mueller2009-09-032-189/+0
|
* Move Tie::File from lib to extSteffen Mueller2009-09-0239-8964/+0
|
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-064-0/+0
|
* Add a $VERSION, strict and some documentation to Tie::StdHandle.Nicholas Clark2008-11-161-2/+33
| | | p4raw-id: //depot/perl@34859
* Bump VERSIONs in all non-dual-lived modules that have changedSteve Hay2008-09-153-3/+3
| | | | | | | | | | 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
* fix typo in a Tie::Hash documentation linkNiko Tyni2008-05-151-1/+1
| | | | | Message-Id: <1210795767-21221-1-git-send-email-ntyni@debian.org> p4raw-id: //depot/perl@33827
* Upgrade to Tie-RefHash-1.38Steve Peters2008-01-282-3/+10
| | | p4raw-id: //depot/perl@33099
* Move Tie::StdHandle into its own file.Michael G. Schwern2007-08-084-39/+64
| | | | | Message-Id: <46B8F683.7040607@pobox.com> p4raw-id: //depot/perl@31689
* Re: [PATCH] Callbacks for named captures (%+ and %-)Ævar Arnfjörð Bjarmason2007-06-061-45/+11
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80706031324y5618d519p460da27a2e7fe712@mail.gmail.com> p4raw-id: //depot/perl@31341
* Sync Tie::RefHash with CPAN (1.37)Yuval Kogman2007-05-072-20/+33
| | | | | Message-ID: <20070507153508.GZ17982@woobling.org> p4raw-id: //depot/perl@31166
* Resolve PL_curpm issues with (??{}) and fix corruption of match results when ↵Yves Orton2007-03-221-38/+9
| | | | | | | | | pattern is a qr. Message-ID: <9b18b3110703210239x540f5ad9mdb41c2ea6229ac31@mail.gmail.com> plus two follow-up patches (minor tweaks) p4raw-id: //depot/perl@30678
* Re: [PATCH] Tweaks so that miniperl.exe doesnt croak while building perl.exeYves Orton2007-03-081-5/+14
| | | | | Message-ID: <9b18b3110703080120s41147a4fh4f4c1f9817079be3@mail.gmail.com> p4raw-id: //depot/perl@30518
* Re: [PATCH] Tweaks so that miniperl.exe doesnt croak while building perl.exeYves Orton2007-03-081-0/+116
| | | | | Message-ID: <9b18b3110703071144t787e028s8a79fa1986624b54@mail.gmail.com> p4raw-id: //depot/perl@30517
* Update the FSF's address. Plus some other whitespace and NON-WHITESPACENicholas Clark2007-02-261-3/+3
| | | | | changes that have crept into the GPL v2. p4raw-id: //depot/perl@30408
* Upgrade to Tie-RefHash-1.35_01, which is just a version change forSteve Peters2006-11-291-1/+1
| | | | | bleadperl. p4raw-id: //depot/perl@29419
* [perl #39026] Tie::Memoize::EXISTS not caching the value Len Weisberg2006-11-151-4/+4
| | | | | | 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
* z/OS: CPAN-ized ext/ and lib/Jarkko Hietaniemi2006-07-131-1/+3
| | | | | Message-ID: <44B6A8B3.5070605@iki.fi> p4raw-id: //depot/perl@28568
* Can't do require Foo if $tainted; because taint tunnels.Nicholas Clark2006-05-131-2/+7
| | | | | | (Documented, but I regard this as a serious practical deficiency in tainting) p4raw-id: //depot/perl@28185
* Upgrade to Tie::RefHash 1.34, by Yuval KogmanRafael Garcia-Suarez2006-05-125-41/+208
| | | p4raw-id: //depot/perl@28177
* CLONE for Tie::RefHashYuval Kogman2006-03-293-5/+96
| | | | | | | | Message-ID: <20060327133407.GA16901@woobling.org> (also rename old Tie::RefHash test, so several test files are allowed.) p4raw-id: //depot/perl@27628
* a bit 'use strict' cleanlinessJarkko Hietaniemi2006-03-192-6/+6
| | | | | Message-ID: <441D3EC1.20902@gmail.com> p4raw-id: //depot/perl@27541
* Bump $VERSION in many modules that have changed.Nicholas Clark2006-01-121-1/+1
| | | p4raw-id: //depot/perl@26804
* Missing ; in Tie::FileNicholas Clark2005-12-222-3/+3
| | | p4raw-id: //depot/perl@26454
* Typos in *.p[lm]Piotr Fusik2005-08-022-2/+2
| | | | | | From: "Piotr Fusik" <pfusik@op.pl> Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec> p4raw-id: //depot/perl@25261