I see the previous question about obtaining a list of directories, but we are currently attemting to write a script that will do that, but then take it a few steps further. Below is the desrciption of the functionality that is needed and if anyone knows of anything that performs these functions either in whole or in part, please advise. Thank you for sharing your knowledge.
The program must:
- Create a file tree starting from a given root.
- Examine each file and create a list of associations between files (eg. USE, USE BASE, REQUIRE, etc.. and specify if all or specific sections of referenced files are utilized)
- Examine each file and create a list of the functions that are located within that file
- Format the output such that data can be entered into a database and comments associated with each entitity.
The closest thing that I seen done that accomplished close to what we need the automatic JAVA API generator, however, if I remember correctly, that required special tags within the code. This perl script will have to use the key words within PERL to gather the data because the numbers of files are just too large and there is minimal commenting inside each one.
I hope that this explanation is sufficient, post any questions you may have regarding the requirements and I will address them as soon as I possibly can.
the_Don
...making offers others can't rufuse.
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, details, 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, summary, 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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.