Do you have a question? Post it now! No Registration Necessary. Now with pictures!
November 26, 2004, 1:24 pm
rate this thread
Re: perl script
email@example.com (seema) writes:
> 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.
I haven't used it, but it seems the CPAN module C-Scan might be
useful. See www.cpan.org.
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.