The perl distribution comes with perlbug, a utility to report bugs about perl. It can collect various things the perl developers want to see to investigate the bug.
Now I am thinking that something like that should be available for module developers too. Of course, you can specify the email address and whatnot with perlbug, but that is too much work.
After five minutes of thought, here is what I want in this little tool:
perl my_script.pl argument argument
bugger my_script.pl argument argument
and CPANPLUS has an interface to the testers, http://search.cpan.org/user/autrijus/CPANPLUS-0.047/lib/CPANPLUS/TesterGuide.pod, which autrijus added after I asked about it. I still point people to testers as the more tests for each platform and a wide variety of platforms would help an author more than just some random bug email from joe user no matter how detailed. Besides, making it easier for people to bitch about something in this community isn't always a smart move. And, let's not forget that people seem to filter their mail rather aggressively these days so suggesting that authors get more email might not go over very well either. If people can't be bothered to use the RT bug database to report a bug, they likely can't be bothered to write a whole email which won't get logged and tracked.
Testers, testers, testers. Some day, it might even catch on after people have tried to reinvent something more complicated enough times.
Re:perlbug isn't quite that sophisticated :)
brian_d_foy on 2003-12-05T01:24:25
Testers is only as good as the tests that the author writes. Users always seem to find an untested case though.
As for RT, I don't expect everyone to know how to use it, and even then, the reports I get in RT have very little information, which is why I want something to collect that info automatically.Re:perlbug isn't quite that sophisticated :)
hfb on 2003-12-05T10:36:44
Well, I cant help the cases where the authors don't write tests for their modules. The interface does allow for comments and such from the users though. I don't see how what you want and what already exists is different save for the extra information collection which could be added into cpanplus and cpan.pm.
.procmailrc
. More than once a report has been moved into my spam folder and I almost missed it (maybe I did even miss a few - how should I know?)Makefile.PL
no longer exists or is buried somewhere deep down in the root's home directory. If I understand you correctly, this perlmodbug tool should not just be used when installing a module but also when discovering a bug later while using it.
After installation all knowledge of the original package is long gone...
Re:but the meta-data might not be there
brian_d_foy on 2003-12-05T16:00:28
There might be other ways to do this even if the distribution is gone. Somewhere in the universe that information exist. The trick is to figure out how to get it. So it is not as simple as opening a file, but I figure there might be one or two smart people who don't give up so easily.:)
A lot of the other features do not depend on this, however, and, again, testers and CPANPLUS are only as good as the tests, which everyone should realize are never perfect.