My apologies for not explaining clearly. This is the first time, I used or observed the CPAN modules. So, I installed ActiveStatePerl 5.16 version from web.And since I got the error related to unable to locate C/Scan.pm file while executing the code, I initially, downloaded the C-Scan-0.74.tar.gz and unzipped the folder. And did the following steps to install
cd C-Scan-0.74\C-Scan-0.74 Makefile.PL -> Here I got a Warning: prerequisite Data::Flow 0.05 no +t found.
so, downloaded Data-Flow-1.02.tar.gz and followed makefile.pl followed by dmake install for both the modules.Still I was getting while compiling my perl code. But then when you asked me to explain the steps that I did, I just tried to add
#use lib '../C-Scan-0.74/C-Scan-0.74/blib/lib'; #use lib '../Data-Flow-1.02/Data-Flow-1.02/blib/lib';
I could compile my code and things work fine. Now I shall check for my expected behavior out of the script and let you know. But if not for explaining you, I wouldn't have got things working.

In reply to Re^6: Identifying functions in a c file and replacing with a keyword by ijalab
in thread Identifying functions in a c file and replacing with a keyword by ijalab

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.