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