Skip Menu |

This queue is for tickets about the Text-LevenshteinXS CPAN distribution.

Report information
The Basics
Id: 111028
Status: new
Priority: 0/
Queue: Text-LevenshteinXS

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

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: (no value)



Subject: [PATCH] Remove unnecessary use statements in .pm
See attached patch
Subject: 0001-remove-non-required-stuff-from-.pm-for-faster-startu.patch
From 2031c36121f59801e147c589969d4df6bf65972f Mon Sep 17 00:00:00 2001 From: Slaven Rezic <slaven@rezic.de> Date: Fri, 8 Jan 2016 22:04:02 +0000 Subject: [PATCH] remove non-required stuff from .pm (for faster startup) Carp and AutoLoader were not used here and are now removed. The .pm is so short that "use warnings" also isn't really necessary. @EXPORT_OK and %EXPORT_TAGS were empty and are now removed. --- LevenshteinXS.pm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/LevenshteinXS.pm b/LevenshteinXS.pm index 9ee31e5..ba36299 100644 --- a/LevenshteinXS.pm +++ b/LevenshteinXS.pm @@ -1,21 +1,12 @@ package Text::LevenshteinXS; use strict; -use warnings; -use Carp; require Exporter; require DynaLoader; -use AutoLoader; our @ISA = qw(Exporter DynaLoader); -our %EXPORT_TAGS = ( 'all' => [ qw( - -) ] ); - -our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); - our @EXPORT = qw( distance ); -- 1.7.10.4