On Jul 21, 2009, at 4:53 PM, Shawn H. Corey wrote:

Hi,

I want to install a script into CPAN but I don't know what category to place it in. Is there a web page that describes them? I looked at http://cpan.org/scripts/index.html but it does not have a description of the categories.

The script is called "sub" and it creates skeletons of sub's by parsing an usage statement and applying it to a template. An usage statement is not valid Perl but it makes sense. For examples:

I agree that there is no obvious category for your program at the 'scripts' page on cpan.org -- but I think that's because that page is used very little and is of little use in distributing code. You'd be much better off posting it on perlmonks.org and requesting feedback on it there.

That being said, you're going to catch a tremendous amount of flack for naming a program with a word that is reserved by Perl for its own use: sub.

If you're a relative newcomer and want to get feedback on your Perl programs, I recommend perl-beginners at Yahoo Groups. I spent several years reading that list every day when I was starting. I believe there may also be a perl beginners list at perl.org.

HTH

Jim Keenan

Reply via email to