Skip Menu |

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

Report information
The Basics
Id: 85576
Status: open
Priority: 0/
Queue: Crypt-CFB

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

Bug Information
Severity: Normal
Broken in: 0.02
Fixed in: (no value)



Subject: use UNIVERSAL qw(can); Deprecated
Hi, UNIVERSAL's import has apparently been deprecated, and if you enable warnings you get a complaint telling you such. The only usage you have of can() in your code it is called as a method and thus doesn't need to be imported (the import is as far as I can tell meaningless and un-used). Simply eliminating line 3 should fix the issue. Thanks! -Chris
The patch is as simple as this:
-use UNIVERSAL qw(can);
+use UNIVERSAL;
On 2015-06-05 00:39:01, KMX wrote: Show quoted text
> The patch is as simple as this: > > -use UNIVERSAL qw(can); > +use UNIVERSAL;
Is 'use UNIVERSAL' even needed, I wonder? UNIVERSAL is always loaded, by definition :)
Subject: Re: [rt.cpan.org #85576] use UNIVERSAL qw(can); Deprecated
Date: Fri, 05 Jun 2015 09:17:11 -0700 (PDT)
To: "bug-Crypt-CFB [...] rt.cpan.org" <bug-crypt-cfb [...] rt.cpan.org>
From: "Chris Prather" <perigrin [...] prather.org>
That's what I said! :) -Chris On Fri, Jun 5, 2015 at 12:13 PM, Karen Etheridge via RT <bug-Crypt-CFB@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=85576 > > On 2015-06-05 00:39:01, KMX wrote:
>> The patch is as simple as this: >> >> -use UNIVERSAL qw(can); >> +use UNIVERSAL;
> Is 'use UNIVERSAL' even needed, I wonder? UNIVERSAL is always loaded, by definition :)