[Bioperl-l] deprecated(), was Re: use of no_* to mean 'number_of', negative booleans

Robert Buels rmb32 at cornell.edu
Wed Jun 10 01:13:36 UTC 2009


Chris Fields wrote:
>> Actually, that's one thing I want to implement within Root, namely the 
>> ability to do this:
>>
>> $self->deprecated(-message     => 'method Foo is deprecated',
>>                  -start_ver   => $version1,
>>                  -throw_ver   => $version2
>> );

Here's a patch with tests against the svn trunk head.  Is this what you 
had in mind?

-- 
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deprecated.patch
Type: text/x-diff
Size: 5601 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/bioperl-l/attachments/20090609/431738da/attachment-0004.bin>


More information about the Bioperl-l mailing list