The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
lex

Returns an anonymous subroutine that returns a token type/content pair on each invocation, and ('', undef) when there's no more.