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.
In reply to Re: grepping out global vars?
by BrowserUk
in thread grepping out global vars?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |