Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: extract the function call chains of specific length

by sundialsvc4 (Abbot)
on Jul 12, 2013 at 03:34 UTC ( #1043866=note: print w/ replies, xml ) Need Help??

in reply to extract the function call chains of specific length

A few years ago, I had to deal with a very similar project ... except that the system to be analyzed consisted of a Devil’s Brew of SAS files, Korn shell scripts, and Tivoli Workload Scheduler (TWS) scripts.   (Don’t ask ... it worked, and they paid, but ick ... and I forevermore shall do worshipful obesiance at the altar of Parse::RecDescent.)

One of the (key, as it turns out ...) ideas that I used was to write one set of scripts to extract the information individually from every script that might be processed.   These are individual, single links.   I stored everything in an SQLite database file.   (Once I grokked the initially-painful lesson that you must use Transactions, SQLite did everything that I could have wished-for.)   Any of the data-extraction scripts could be run or re-run at any time.   All of the chain-building or other scripts worked entirely by issuing queries against this database as their source of information.   They did not use recursion at all, but did create some fairly elaborate data structures.

Comment on Re: extract the function call chains of specific length
Replies are listed 'Best First'.
Re^2: extract the function call chains of specific length
by dwslovedh (Novice) on Jul 12, 2013 at 12:20 UTC
    Thank you for your valuable advice! I will try, thanks again!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043866]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2015-11-30 17:24 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (777 votes), past polls