Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Greetings Monks,

<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.

In reply to Help with making a Module to reveal supported Perl versions by taint

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (5)
    As of 2018-07-21 02:42 GMT
    Find Nodes?
      Voting Booth?
      It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

      Results (443 votes). Check out past polls.