I'm convinced there is a way to do this with m//, but durned if I can figure it out. Ovid is the regexp guru around here (at least, I think so).$_ = "This is a test\nMore Test"; $len = s/(.)/$1/gs; print $len;
In reply to (jcwren) RE: Counting Characters
by jcwren
in thread Counting Characters
by NeverMore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |