The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Scanner - implements the base for all scanners

SYNOPSIS

use Scanner::Scanner;

$tokens = [ '[A-Za-z_][A-Za-z0-9_]*', $IDENT ];

$scanner = new Scanner::FirstMatch($tokens, new
    Scanner::Stream::File "blah.txt");