Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Perl feature/version information

by Joost (Canon)
on Aug 07, 2004 at 13:07 UTC ( [id://380899]=perlquestion: print w/replies, xml ) Need Help??

Joost has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

This is something that's been bothering me for some time: is there any place that you can quickly find which feature was implemented in which perl version? AFAIK the only place this is documented is in the various perldelta manpages, but those are indexed by version, and there are currently 14 of them, which makes it annoying to search for a specific feature.

I'm looking for something like:

source filters
implemented in 5.6.0 (? from memory, can't find it in perldelta)
threads.pm
implemented in 5.6.0.
etc. etc.

Does anything like this exist? If it doesn't, do you think it would be useful?

Joost.

update: since apparently this doesn't really exist I took a stab at it myself. Let me know what you think.

Replies are listed 'Best First'.
Re: Perl feature/version information
by adrianh (Chancellor) on Aug 07, 2004 at 13:52 UTC
    This is something that's been bothering me for some time: is there any place that you can quickly find which feature was implemented in which perl versio

    For modules Module::CoreList is what you want. For non-module features grepping the perldeltas is the best you'll get AFAIK.

Re: Perl feature/version information
by graff (Chancellor) on Aug 08, 2004 at 02:30 UTC
    I'm sure many folks would agree that this could be a useful facility, especially for writing "version-independent" scripts, or at least to know whether you need a "require 5.00X" (and what "X" should be) in a script that has a version dependency.

    The difficulty is that this is an open-ended problem. It's not clear to me that the set of "features" to be indexed could really be enumerated coherently. This is the kind of problem that might best be tackled by a search-engine approach: you index all the "perldelta" pages according to word occurrences, and search it "google-style": enter a few keywords or a phrase, and get back a list of locations where you'll find relevant text.

    (You'd need to actually read the cited text to see if it's a reference to a feature being introduced, or one being fixed in some significant way, or one being deprecated...)

    (update: fixed grammar)

Re: Perl feature/version information
by Prior Nacre V (Hermit) on Aug 07, 2004 at 13:43 UTC

    I'm not aware of the existence of such a feature. It would be extremely useful. I was wishing for such a thing just a few days ago.

    Regards,

    PN5

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://380899]
Approved by Limbic~Region
Front-paged by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-19 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found