I know that Perl has some pattern matching abilities, but does it have something that is the equivalent to the php substr(string, startpoint, count) function? I'm working with a perl program, and it would be useful if I could not only check that files match a general pattern (program already...