a) you don't check the return value of your open calls. 2) Perl is case sensitive; ORD is not ord. III) Your regex has no capturing parens so $1 won't contain anything.
In reply to Re: Searching for control characters
by Fletch
in thread Searching for control characters
by ericdp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |