Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Module-Starter CPAN distribution.

Report information
The Basics
Id: 34376
Status: rejected
Priority: 0/
Queue: Module-Starter

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

Bug Information
Severity: Wishlist
Broken in: 1.470
Fixed in: (no value)



Subject: Get user name and mail from environment if not specified
Hi, I'm forwarding this bug request received at Debian's BTS (http://bugs.debian.org/472102). I'm reproducing the report here: /----------- |module-starter's --author and --email options are required. I wish |the author would default to the user's full name from the GECOS field |and the email would default to the user's login name @ the contents of |/etc/mailname, respectively. \----------- My answer to the requester: /----------- |Umh... I'm not very happy to implement this one. It does make sense, |but I think I'd end up doing something according to _my_ use case, and |not general enough - i.e. many users won't have anything meaningful in |/etc/mailname (on this laptop, I have 'localdomain') - In my case, I'd |choose $ENV{EMAIL}, but many people also don't have it set. | |As for the person name, many people won't even have something |meaningful in the GECOS field (even worse, might not have the field at |all - think this module is also usable in Windows systems). | |I'm just pushing the bug upstream as a wishlist request. \----------- So... it's up to you :-)
No, the user has to supply his/her own email. I can't provide that level of laziness. It opens up to too many errors.