[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



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.

-- 
How to squander your resources: those silly Swedes have a sauce named
"hovmästarsås", the best thing ever to put on cheese, yet they waste it
solely on mere salmon.


Reply to: