[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#695559: ITP: libstring-perlidentifier-perl -- Perl extension that generate a random name for a variable



Le 11/12/2012 03:49, Adam Borowski a écrit :
> On Mon, Dec 10, 2012 at 06:12:55AM +0100, Xavier Guimard wrote:
>> * Package name    : libstring-perlidentifier-perl
>> * URL             : http://search.cpan.org/perldoc?String%3A%3APerlIdentifier
>>   Description     : Perl extension that generate a random name for a variable
>>
>> String::PerlIdentifier automatically exports a single subroutine,
>> make_varname(), which returns a string composed of random characters
>> that qualifies as the name for a Perl variable. The characters are
>> limited to upper- and lower-case letters in the English alphabet, the
>> numerals from 0 through 9 and the underscore character. The first
>> character may not be a numeral.
> 
> Seriously?
> A whole package for this?
> And of all languages, in perl?
> 
> Is this a joke?  Because even if adding a new package would be free, you
> need to type more to import the module and call the function than it would
> take to implement it anew, inline.
> 
> Every single package adds at least ~3.5KB to three apt lists, these must be
> loaded into memory for every apt operation, etc.  This can already take a
> while on smaller systems supported by Debian.  Adding a single package is
> not a big deal, adding them for something orders of magnitude smaller than
> the waste, is.
> 
> And for added insult, this module's documentation already mentions
> String::Random which can do this and more, and is already packaged in
> Debian.
> 
> Please, for the love of Yog-Sothoth, if you need this as a dependency, patch
> it away instead of creating such a package.

Hi,

sorry, I'll patch libfile-save-home-perl to include this in test dir
(required only for "make test").
The goal is to package libextutils-modulemaker-perl that replace h2xs
for pure Perl modules.

Cheers,
Xavier


Reply to: