|Pathologically Eclectic Rubbish Lister|
Help with making a Module to reveal supported Perl versionsby taint (Chaplain)
|on Dec 11, 2013 at 19:28 UTC||Need Help??|
taint has asked for the
wisdom of the Perl Monks concerning the following question:
<prolog> I was faced with the inability to use my dev box to test a Perl Module destined for the CPAN. As it was updating portions of the OS it runs on. So in an effort to run preliminary tests on the Module. I was forced to attempt to emulate a Perl 5.6 scope of tests. As I didn't want to modify, or install other Perls on the box I was testing the Module on. The whole thing was an unpleasant experience. Which, to me, seemed unnecessarily difficult. Then I had this thought, that surely there is a Module that I could (use|require), that would tell me which functions, etc.. in which versions (of Perl) My Module supports. After searching much of last night. I was unable to find anything that "fit the bill".</prolog>
So. I decided to embark on the creation of a Module that; once used/required will reveal just how old/low a version the Module you are creating will/would support. While I have my ideas on how this might be best accomplished. I thought before I got too far into it, that I should inquire as to whether this has already been done, and I didn't find it. Also, how others feel this should be best done -- if at all.
The specific question I have right now is; how can I best get the internal functions provided by any particular version of Perl, and their specific names? I'm attempting to get it from source. I've got every version from present, to 5.6.0. All unpacked.
Apologies for the long prolog. But I couldn't think of a better/more concise way to introduce/justify the whole endevour.
All the best
Yes. What say about me, is true.