jjhorner has asked for the wisdom of the Perl Monks concerning the following question:
I have something I believe to be CPAN worthy. I've started looking at making my code CPAN-friendly. I was given a link at the perl5 porters mailing list that has some good info, I believe. One thing confuses me though:
A module's code has to be warning and strict-clean, since you can't guarantee the conditions that it'll be used under. Besides, you wouldn't want to distribute code that wasn't warning or strict-clean anyway, right?
What exactly does this mean? Does this mean 'use strict' and '-w' shouldn't be used, or does this mean to use them?
Could merlyn or some of the other module writing monks
give me some guidance?
Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating modules for use on CPAN
by lhoward (Vicar) on Jun 12, 2000 at 22:30 UTC | |
by KM (Priest) on Jun 12, 2000 at 22:37 UTC | |
|
Re: Creating modules for use on CPAN
by KM (Priest) on Jun 12, 2000 at 22:30 UTC | |
|
Re: Creating modules for use on CPAN
by Anonymous Monk on Jun 13, 2000 at 05:31 UTC |