develooper Front page | perl.perl5.porters | Postings from February 2009

Re: deprecating Switch.pm

Thread Previous
From:
Nicholas Clark
Date:
February 23, 2009 03:55
Subject:
Re: deprecating Switch.pm
Message ID:
20090223115456.GB81285@plum.flirble.org
On Mon, Feb 23, 2009 at 12:46:39PM +0100, Rene Bcker wrote:
> Hi Nick,
> 
> Nicholas Clark schrieb:
> >> Anyway, help wanted. Does anyone want to do any of:
> >>
> >> 1: Write tests
> 
> tests for the deprectation message? I can do this till next week.

Yes. There are zero tests. You've seen the entire "test suite" demonstrated
in the message you replied to.

> >> 2: Write documentation
> 
> you mean a perldiag entry?

Well, that, and there isn't even stub documentation in the module itself.

> > 9: Is it possible to have a warning that defaults to on, so that one has to
> >    explicitly go no warnings 'deprecated' to shut it up?
> 
> I'll have a look at this tomorrow...

Thanks,

Nicholas Clark

Thread Previous


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