Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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]
[Corion]: A good morning to everybody ;)
[choroba]: Hi Corion!
[Discipulus]: hello folks!

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-02-23 08:52 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (342 votes). Check out past polls.