in reply to parser / find / implementation thingy?
Here's how you use it:
perl -MO=Xref source1.pl >source1.xref
By doing that, you'll now have a file, "source1.xref", containing a list of all of the symols used in your source code.
From there, you could do that with any number of programs, and quickly write a little script that compares the symbols found in each crossref file, to alert you to symbols that don't appear in all files.
Even if you don't bother with writing a comparison/alert script, the B::Xref module is probably a good solution since it organizes the symbols by package and subroutine for quick visual comparison.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: parser / find / implementation thingy?
by jcpunk (Friar) on Dec 18, 2003 at 03:52 UTC |