M
Michael Friendly
This is a problem I thought there would have been scripts or modules
I could adapt, but I havent found anything all that useful
on CPAN or other sources (Perl cookbook, 2nd ed)
Given code (perl/C/R, ...) with comments, 'strings', "strings"
and code,
- convert all comments to mixed case as sentences, capitalizing
the first lettter of each '.' delimited sentence, but retain all
'strings' and "strings" within comments in original case.
- convert all non-comment code to lower case, but retain all
'strings' and "strings" within comments in original case.
thanks
--
Michael Friendly Email: (e-mail address removed)
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA
I could adapt, but I havent found anything all that useful
on CPAN or other sources (Perl cookbook, 2nd ed)
Given code (perl/C/R, ...) with comments, 'strings', "strings"
and code,
- convert all comments to mixed case as sentences, capitalizing
the first lettter of each '.' delimited sentence, but retain all
'strings' and "strings" within comments in original case.
- convert all non-comment code to lower case, but retain all
'strings' and "strings" within comments in original case.
thanks
--
Michael Friendly Email: (e-mail address removed)
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA