Skip Menu |
 

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

Report information
The Basics
Id: 68229
Status: patched
Priority: 0/
Queue: File-Slurp

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 9999.18
Fixed in: 9999.19

Attachments


Subject: t/edit_file fails with Exporter < 5.58
Download (untitled) / with headers
text/plain 565b
Test fails like this with Exporter 5.57: t/edit_file...........":edit" is not exported by the File::Slurp module Can't continue after import errors at t/edit_file.t line 7 BEGIN failed--compilation aborted at t/edit_file.t line 7. dubious Test returned status 255 (wstat 65280, 0xff00) Scalar found where operator expected at (eval 152) line 1, near "'int' $__val" (Missing operator before $__val?) It's quite similar to CPAN RT#29339 and so is the fix (see attached patch). It's just a case of moving the :edit tag import before other imports.
Subject: File-Slurp-9999.18-exports.patch
--- a/t/edit_file.t +++ b/t/edit_file.t @@ -4,7 +4,7 @@ use lib qw(t) ; -use File::Slurp qw( read_file write_file :edit ) ; +use File::Slurp qw( :edit read_file write_file ) ; use Test::More ; use TestDriver ;
Download (untitled) / with headers
text/plain 127b
patched but untested (needs that early version of Exporter.pm) and unreleased. if you can test it i can get you a beta version
From: paul [...] city-fan.org
Download (untitled) / with headers
text/plain 199b
On Mon May 23 01:42:22 2011, URI wrote: Show quoted text
> patched but untested (needs that early version of Exporter.pm) and > unreleased. if you can test it i can get you a beta version
I can test it, no problem.


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.