Skip Menu |
 

This queue is for tickets about the XML-Compile-SOAP CPAN distribution.

Report information
The Basics
Id: 119955
Status: resolved
Priority: 0/
Queue: XML-Compile-SOAP

People
Owner: Nobody in particular
Requestors: pavel [...] dcmsys.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 3.22



Subject: error in file content reading block
Download (untitled) / with headers
text/plain 381b
1. XML::Compile::XOP::Include line: fault "failed reading XOP file {fn}", fn => $f; has to be for example: fault "failed reading XOP file {fn}", fn => $f if $@; 2. File::Slurp::Tiny::read_file by default use text file mode, better to call it as: my $bytes = try { read_file($f, ( binmode => ':raw' )) }; 3. it seems File::Slurp::Tiny is is discouraged in favor of File::Slurper
CC: ;
Subject: Re: [rt.cpan.org #119955] error in file content reading block
Date: Wed, 25 Jan 2017 09:26:17 +0100
To: Pavel Trushkin via RT <bug-XML-Compile-SOAP [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
Download (untitled) / with headers
text/plain 1.4k
* Pavel Trushkin via RT (bug-XML-Compile-SOAP@rt.cpan.org) [170124 11:07]: Show quoted text
> Tue Jan 24 06:07:33 2017: Request 119955 was acted upon. > Transaction: Ticket created by pavel@dcmsys.com > Queue: XML-Compile-SOAP > Subject: error in file content reading block > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119955 > > > fault "failed reading XOP file {fn}", fn => $f; > fault "failed reading XOP file {fn}", fn => $f if $@;
Probably no-one ever used that feature. Thanks for reparing it! Show quoted text
> 2. File::Slurp::Tiny::read_file by default use text file mode, better to > call it as: > my $bytes = try { read_file($f, ( binmode => ':raw' )) };
"They" told me not to use File::Slurp anymore, but did not tell me the interface of ::Tiny is slightly different. Thanks. Show quoted text
> 3. it seems File::Slurp::Tiny is is discouraged in favor of File::Slurper
The ::Slurper has no "read_binary()". I'll ask the author (the same of both modules) next week what I can best use. Thanks for your contribution. Both included in 3.22. I do not produce a new release for every bugfix: please tell me when you need a fresh release which includes these changes. -- greetz, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Released month ago


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.