Skip Menu |

This queue is for tickets about the File-Slurp-Tiny CPAN distribution.

Report information
The Basics
Id: 93573
Status: open
Priority: 0/
Queue: File-Slurp-Tiny

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Ease transition from File::Slurp by providing missing functions
File::Slurp provides the following additional functions which File::Slurp::Tiny lacks: - overwrite_file - append_file - prepend_file - edit_file - edit_file_lines It would be nice if File::Slurp::Tiny provided equivalents to help ease transition from File::Slurp. I'd be happy to provide implementations for them if you agree in principle that they should be added.
Subject: Re: [rt.cpan.org #93573] Ease transition from File::Slurp by providing missing functions
Date: Fri, 7 Mar 2014 00:26:23 +0100
To: bug-File-Slurp-Tiny [...] rt.cpan.org
From: Leon Timmermans <leont [...] cpan.org>
On Thu, Mar 6, 2014 at 5:32 PM, Toby Inkster via RT < bug-File-Slurp-Tiny@rt.cpan.org> wrote: Show quoted text
> Thu Mar 06 11:32:08 2014: Request 93573 was acted upon. > Transaction: Ticket created by TOBYINK > Queue: File-Slurp-Tiny > Subject: Ease transition from File::Slurp by providing missing > functions > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: mail@tobyinkster.co.uk > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=93573 > > > > File::Slurp provides the following additional functions which > File::Slurp::Tiny lacks: > > - overwrite_file > - append_file > - prepend_file > - edit_file > - edit_file_lines > > It would be nice if File::Slurp::Tiny provided equivalents to help ease > transition from File::Slurp. > > I'd be happy to provide implementations for them if you agree in principle > that they should be added. >
File::Slurp's interfaces are so broken I actually want *less* compatibility (in particular, the binmode argument should have been positional, not named). The first three are quite silly to me, and the last two ignore encodings (which is a big no-go for me). So I'm rather leaning towards no here. Leon