Skip Menu |

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

Report information
The Basics
Id: 125582
Status: resolved
Priority: 0/
Queue: File-ShareDir

People
Owner: Nobody in particular
Requestors: yseto (no email address)
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.106
Fixed in: 1.108



Subject: Undefined subroutine &File::ShareDir::croak called
Apparently this library causes execution to fail. -------- use strict; use warnings; use utf8; use File::ShareDir ':ALL'; my $file = dist_file( 'File-ShareDir', 'file/name.txt'); warn $file; -------- $ carton exec -- perl test.pl Undefined subroutine &File::ShareDir::croak called at /tmp/xxx/local/lib/perl5/File/ShareDir.pm line 337. $ cat cpanfile requires 'File::ShareDir', '== 1.106'; i'm sorry, my bug reports is poor. :(
On 2018-06-14 02:04:19, ygithub@skycute.sakura.ne.jp wrote: Show quoted text
> Apparently this library causes execution to fail.
Show quoted text
> Undefined subroutine &File::ShareDir::croak called at > /tmp/xxx/local/lib/perl5/File/ShareDir.pm line 337.
Looks like the code used to (correctly) call Carp::croak, but it was changed to remove the fully-qualified name in 1.106.
On Thu Jun 14 12:03:40 2018, ETHER wrote: Show quoted text
> On 2018-06-14 02:04:19, ygithub@skycute.sakura.ne.jp wrote:
> > Apparently this library causes execution to fail.
>
> > Undefined subroutine &File::ShareDir::croak called at > > /tmp/xxx/local/lib/perl5/File/ShareDir.pm line 337.
> > Looks like the code used to (correctly) call Carp::croak, but it was > changed to remove the fully-qualified name in 1.106.
I strongly suggest you either learn to use git log or stfu. Please stay with facts.
On Thu Jun 14 05:04:19 2018, ygithub@skycute.sakura.ne.jp wrote: Show quoted text
> Apparently this library causes execution to fail. > > -------- > use strict; > use warnings; > use utf8; > > use File::ShareDir ':ALL'; > my $file = dist_file( 'File-ShareDir', 'file/name.txt'); > warn $file; > -------- > > $ carton exec -- perl test.pl > Undefined subroutine &File::ShareDir::croak called at > /tmp/xxx/local/lib/perl5/File/ShareDir.pm line 337. > > $ cat cpanfile > requires 'File::ShareDir', '== 1.106'; > > i'm sorry, my bug reports is poor. :(
Please don't tell that - from all bug reports I get, your above 80% quality: * you have a real point, not a kind-of smell * you have a test * you don't haze From my point of view, excellent. Thank you very much for reporting and while we wait for https://travis-ci.org/perl5-utils/File-ShareDir I do some work on client side and upload a new release this evening unless some other breakage prevents that. Cheers, Jens
Subject: [rt.cpan.org #125582] I resolved own trouble by your fix.
Date: Sat, 16 Jun 2018 01:25:08 +0900
To: Bugs in File-ShareDir via RT <bug-File-ShareDir [...] rt.cpan.org>
From: ygithub [...] skycute.sakura.ne.jp
Mr. Jens Thank you very much for your quick response. I resolved own trouble by your fix. Encouraged by your words, I feel like wanting to be a source for the future. I want to apologize for being rude (writing, expression, etc..). I am planning to learn from now. Regards, yseto
This was fixed in 1.108.
According to haarg it's fixed in 1.108