mithaldu has asked for the wisdom of the Perl Monks concerning the following question:
I am currently rewriting a rather large code-base that makes extensive and terrifying use of bareword filehandles. In order to clean it up i intend to replace them all with proper FileHandle objects. However quite a few of them have very imaginative names like "G".
So, in order to make this task a bit more sane to complete: Is there some kind of module i can run the code through which parses it and can tell me where barewords are?
So, in order to make this task a bit more sane to complete: Is there some kind of module i can run the code through which parses it and can tell me where barewords are?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to find barewords in perl code?
by moritz (Cardinal) on Jun 01, 2010 at 14:58 UTC | |
by mithaldu (Monk) on Jun 01, 2010 at 15:09 UTC | |
Re: How to find barewords in perl code?
by JavaFan (Canon) on Jun 01, 2010 at 16:02 UTC | |
by moritz (Cardinal) on Jun 01, 2010 at 16:12 UTC | |
by JavaFan (Canon) on Jun 01, 2010 at 16:38 UTC |
Back to
Seekers of Perl Wisdom