Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-10-26 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls