I get:
$ perl -ne "s/([a-z])([A-Z])/$1 $2/g; tr/A-Za-z//c; foreach (split) { print qq{$_\n} unless $seen{lc $_}++ }" somefile.h
Can't modify single ref constructor in postincrement (++) at -e line 1, near "}++"
Execution of -e aborted due to compilation errors.
Running Perl 5.8.6
TextMate can check any scope, this is true (including comments, which I've turned on and it's saved me some pain from my team)... but the spell checker doesn't handle CamelCase. Oddly enough it does handle underline_vars.
I get: $ perl -ne "s/([a-z])([A-Z])/$1 $2/g; tr/A-Za-z/ /c; foreach (split) { print qq{$_\n} unless $seen{lc $_}++ }" somefile.h
Can't modify single ref constructor in postincrement (++) at -e line 1, near "}++"
Execution of -e aborted due to compilation errors.
Running Perl 5.8.6
TextMate can check any scope, this is true (including comments, which I've turned on and it's saved me some pain from my team)... but the spell checker doesn't handle CamelCase. Oddly enough it does handle underline_vars.