I've been browsing a bunch of modules lately, and can't help but see that many of them don't follow "best practices" (heh, not that I always do either :)
But, at the very least, shouldn't they be using strict, warnings and lexically scoped variables. CGI and GD are prime examples (CGI appears to haphazardly use my and -w though).
Since module documentation is where a lot of people first learn how to code, shouldn't we be politely asking module owners to update their documentation to provide at least the basics of good practice?
Or am I opening a can of worms that should be kept shut? ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Campaign to clean up CPAN modules' POD?
by stvn (Monsignor) on May 21, 2007 at 19:56 UTC | |
by cLive ;-) (Prior) on May 21, 2007 at 20:31 UTC | |
|
Re: Campaign to clean up CPAN modules' POD?
by ysth (Canon) on May 22, 2007 at 02:15 UTC | |
|
Re: Campaign to clean up CPAN modules' POD?
by rinceWind (Monsignor) on May 22, 2007 at 13:22 UTC | |
|
Re: Campaign to clean up CPAN modules' POD?
by educated_foo (Vicar) on May 21, 2007 at 20:01 UTC | |
by cLive ;-) (Prior) on May 21, 2007 at 20:21 UTC | |
by shmem (Chancellor) on May 22, 2007 at 05:43 UTC | |
by cLive ;-) (Prior) on May 22, 2007 at 18:33 UTC | |
| |
|
Re: Campaign to clean up CPAN modules' POD?
by leocharre (Priest) on May 22, 2007 at 11:59 UTC |