Skip Menu |
 

This queue is for tickets about the Crypt-SKey CPAN distribution.

Report information
The Basics
Id: 40967
Status: resolved
Priority: 0/
Queue: Crypt-SKey

People
Owner: Nobody in particular
Requestors: FBRIERE [...] cpan.org
Cc:
AdminCc:

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



Subject: Crypt::SKey does not use/require Exporter
Download (untitled) / with headers
text/plain 316b
$ perl -Iblib/lib -MCrypt::SKey=compute -le 'print compute()' Undefined subroutine &main::compute called at -e line 1. This is because Crypt::SKey does not use/require Exporter, which never gets loaded, thus never providing import(). (This is not apparent in any test, since Test.pm itself pulls Exporter in.)
Download (untitled) / with headers
text/plain 271b
This seems to depend on the version of perl being used - on my system, Crypt::SKey loads vars, which loads warnings::register, which loads warnings, which loads Carp, which loads Exporter. I'll add the 'use' statement to the next release. Thanks for the spot. -Ken
Subject: Re: [rt.cpan.org #40967] Crypt::SKey does not use/require Exporter
Date: Wed, 19 Nov 2008 19:37:03 -0500
To: Ken Williams via RT <bug-Crypt-SKey [...] rt.cpan.org>
From: Frédéric Brière <fbriere [...] fbriere.net>
Download (untitled) / with headers
text/plain 574b
On Mon, Nov 17, 2008 at 10:38:46PM -0500, Ken Williams via RT wrote: Show quoted text
> This seems to depend on the version of perl being used - on my system, > Crypt::SKey loads vars, which loads warnings::register, which loads > warnings, which loads Carp, which loads Exporter.
You're right; warnings.pm no longer loads Carp at compile-time on 5.10. Show quoted text
> I'll add the 'use' statement to the next release.
Any reason why it's commented out? -- The whole history of computers is rampant with cheerleading at best and bigotry at worst. -- Larry Wall in <199702111730.JAA28598@wall.org>
Download (untitled) / with headers
text/plain 148b
On Wed Nov 19 19:37:31 2008, fbriere@fbriere.net wrote: Show quoted text
> Any reason why it's commented out? >
Argh - the reason is carelessness. I'll try again.


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.