in reply to grepping out global vars?
Maybe the simple solution is to make a copy the script and in the copy.
That ought to produce output somethng like:
P:\test>perl -wc junk.pl Global symbol "$c" requires explicit package name at junk.pl line 8. Global symbol "$rv" requires explicit package name at junk.pl line 9. Global symbol "$c" requires explicit package name at junk.pl line 10. Global symbol "$c" requires explicit package name at junk.pl line 11. Global symbol "$c" requires explicit package name at junk.pl line 12. Global symbol "$c" requires explicit package name at junk.pl line 12. Global symbol "$c" requires explicit package name at junk.pl line 17. Global symbol "$rv" requires explicit package name at junk.pl line 22. Global symbol "$c" requires explicit package name at junk.pl line 22. junk.pl had compilation errors.
Is that the sort of information you are after?
There is also a module Devel::Something (Xref?) that produces a cross reference listing, but cpan appears to n down right now.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: grepping out global vars?
by Mr. Muskrat (Canon) on Jan 18, 2005 at 02:06 UTC | |
by BrowserUk (Patriarch) on Jan 18, 2005 at 03:29 UTC | |
|
Re^2: grepping out global vars?
by jdporter (Paladin) on Jan 17, 2005 at 16:26 UTC |