develooper Front page | perl.perl5.porters | Postings from September 2017

Re: [PATCHES] Tie::StdHandle::BINMODE and "use" docs

Thread Previous | Thread Next
From:
Hauke D
Date:
September 22, 2017 12:36
Subject:
Re: [PATCHES] Tie::StdHandle::BINMODE and "use" docs
Message ID:
9be1a247-9982-8039-faa9-538909299cf7@zero-g.net
Hi all,

Bump - with updated patches:

1. Fix Tie::StdHandle::BINMODE's handling of the "layer" argument, was 
previously two separate patches (fix+tests), now squashed into one.

2. Change Tie::StdHandle::WRITE to return the length of the data 
written, to bring it more into line with syswrite.

3. Bump Tie::StdHandle version

4. The previously proposed doc change, but with a long line error fixed 
(reported by t/porting/podcheck.t)

The patches are also rebased onto the current blead, but there were no 
conflicts anyway. All tests pass successfully with a standard 
configuration on Linux.

(Note: 1. and 2. are based on my work on Tie::Handle::Base: 
http://cpansearch.perl.org/src/HAUKEX/File-Replace-0.04/lib/Tie/Handle/Base.pm 
)

Regards,
-- Hauke D


On 09.09.2017 12:50, Hauke D wrote:
> Dear P5P,
> 
> It was nice to see some of you in Amsterdam, even if we didn't get a 
> chance to meet personally - this was my first Perl event, so hopefully 
> next time :-)
> 
> Attached are two simple patches, since they're only one line each I 
> didn't submit them via perlbug, but can do that if desired.
> 
> First is a patch for Tie::StdHandle::BINMODE not handling the "LAYER" 
> argument, second is a nitpick of the documentation of "use Module 
> 12.34;", which adds the implicit Module->import() call to the 
> "equivalent" code.
> 
> Thanks, Regards,
> -- Hauke D

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About