in reply to Re: Comment Stripper script for unix
in thread Comment Stripper script for unix
Don't feel too bad, the saying goes, "Only perl can parse Perl." To do this sort of thing properly really does require a parser.... or take a look at perltidy, which does a really good job on perl code formatting and also has a switch for stripping comments.
|
---|