develooper Front page | perl.module-authors | Postings from June 2008

Re: Fwd: New CPANTS metrics

Thread Previous | Thread Next
From:
Eric Roode
Date:
June 10, 2008 12:56
Subject:
Re: Fwd: New CPANTS metrics
Message ID:
5c2834e00806101256w24cdaf8el8ae40d4eaa090d6e@mail.gmail.com
On Tue, Jun 10, 2008 at 3:36 PM, Gabor Szabo <szabgab@gmail.com> wrote:
> On Tue, Jun 10, 2008 at 10:21 PM, Eric Roode <eric.roode.phlpm@gmail.com> wrote:
[...]
>> I guess it does show the end-user of a module that the module author
>> is smart enough not to shoot himself in the foot.  The module author
>> might be smart enough without strict.pm too, but how can one tell?
>> I guess that's the CPANTS logic.
>
> What if I have to go and change something in your module?
> I know I am not smart enough to work without the hand holding
> of use strict and use warnings.

Then you would add "use strict" and "use warnings" as part
of your changes!   :-)

> So I can quickly break the module. Maybe I won't even notice but
> someone who uses my version will start complaining. To you...
> I might be a bit more clever and add use strict and use warnings before
> I start changing your code.
> But what if you used symbolic refs in some areas?
> Now it won't compile and I have no clue in which area to disable strict.

Then keep your grubby hands off my damn module!  :-)

-- Eric

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About