develooper Front page | perl.perl5.porters | Postings from April 2010

[RFC] Module::CoreList removed modules functionality

Thread Next
From:
Chris 'BinGOs' Williams
Date:
April 22, 2010 08:04
Subject:
[RFC] Module::CoreList removed modules functionality
Message ID:
20100422150442.GA6221@klanker.bingosnet.co.uk
It has come up on a few IRC channels regarding Module::CoreList and corelist
and the fact that whilst one can see when a module first entered core
and all the perl versions a module is included with, there isn't a mechanism
to indicate when a module departed from core.

( Well, there obviously is if you want to play with %version yourself ).

I've come up with two new functions to compliment first_release() 
and first_release_by_date():

removed_from()
removed_from_by_date()

Which return the first perl version from which a specified module is removed.

I considered that this was more useful than a last_released() type function.

( Not to say we couldn't have last_released() as well ).

I've amended the venerable corelist utility as well so it produces this type of
output now:

$ corelist ExtUtils::MakeMaker::bytes

ExtUtils::MakeMaker::bytes was first released with perl v5.6.2 and removed from v5.10.1

$ corelist File::Spec

File::Spec was first released with perl 5.00405

The main question is do the function names make sense?

Many thanks in advance,

-- 
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==========================

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