#!/usr/local/bin/perl -w # # checks my writing style # $line = 0 ; while( <>){ $which = 0 ; $clearly = 0 ; $to = 0 ; $from = 0 ; $undo = 0 ; $other = 0 ; $line ++ ; $to += s/ptimis/ptimiz/g; $undo += s/optimiztic/optimistic/g; $to += s/egularis/egulariz<< $undo ) || ( $from ) || ($other) || $which || $clearly ) { print "$line: $_" ; } }