in reply to Re^2: Using HOP::Lexer to parse a documentin 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 [download]