in reply to Re: regexp for finding all function calls
in thread regexp for finding all function calls
Ok.
I have a large code base of say thousands of perl files. I want to copy all calls to Mod::func() interspersed in these thousands of files to a single file, say funcCalls.pl. Then I will run fucCalls.pl and verify the output of all of the calls to Mod::func().
If the output is wrong, hopefully I will have recorded the line number and file from which each call to Mod::func() came from. In this way I will be able to fix any erroneous calls to to Mod::func().
I have a large code base of say thousands of perl files. I want to copy all calls to Mod::func() interspersed in these thousands of files to a single file, say funcCalls.pl. Then I will run fucCalls.pl and verify the output of all of the calls to Mod::func().
If the output is wrong, hopefully I will have recorded the line number and file from which each call to Mod::func() came from. In this way I will be able to fix any erroneous calls to to Mod::func().
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: regexp for finding all function calls
by moritz (Cardinal) on Jul 07, 2009 at 22:28 UTC | |
by marksman (Novice) on Jul 07, 2009 at 22:39 UTC | |
by moritz (Cardinal) on Jul 07, 2009 at 22:46 UTC | |
Re^3: regexp for finding all function calls
by marksman (Novice) on Jul 07, 2009 at 22:29 UTC |
In Section
Seekers of Perl Wisdom