perl script

Discussion in 'Perl Misc' started by seema, Nov 26, 2004.

  1. seema

    seema Guest

    Is it possible to write a script in perl
    that searches functions in all the *.h
    files in the Linux box and write the output
    to a file. Assume we will store the required
    functions in hash tables and use this hash table
    in our script.
    seema, Nov 26, 2004
    1. Advertisements

  2. I haven't used it, but it seems the CPAN module C-Scan might be
    useful. See
    Whether you use hash tables is up to you, but it seems a reasonable
    choice. (Actually, that last sentence makes the query sound like
    a homework problem. Is it?)

    The short answer if of course "yes, it's possible". It's not likely
    to impress a teacher, though.
    Arndt Jonasson, Nov 26, 2004
    1. Advertisements

  3. Please put the subject of your article in the Subject of your article.

    Tad McClellan, Nov 26, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.