Human. Professional. Technologist. Musician. Naturophile. Linguaphile. Traveller. Philosopher. Friend. Don't-Worry-Be-Happy-ist.
Perl Timeline Script
Timeline, is a utility to draw diagrams that depict a time sequence of data, message or information exchange between entities or states. Such and similar diagrams are also known as Function Call Trees, Sequence Diagrams, or Chronological State Transition Diagrams in different contexts.
Using this simple open source perl script you can generate nice text formatted function call tree as per timeline, for use in emails to your colleagues to help them understand the logic of your module :) Save this file tl.pl.txt and rename it as "tl.pl".
Note: not this does not parse code to generate the call trees, you have to do it yourself. This only formats it nicely :)
The script is meant to be used thus :
Run the script thus :
The file 'outfile' should contain the formatted timeline.
Just in case you find a little problem in your output, please have it corrected in any text editor ;) (Those dots there are actually spaces in outfile. Ive replaced them with dots here just to go easy on html)
Disclaimer: These files are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Message in Public Interest