From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

lex

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