in reply to Re^2: Using HOP::Lexer to parse a document
in thread Using HOP::Lexer to parse a document

Hmm, a bit of C think showing through in my Perl :(. Better would be:

next if 'ARRAY' ne ref $token; # Skip blank lines - no tokens

DWIM is Perl's answer to Gödel