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

NAME

  DBIx::HTMLView::Fld - Basic parser for fmt strings and files

SYNOPSIS =head1 DESCRIPTION

ANY: VAR | FLD | FMT | PERL | TXT | SELECT VAR: "<VAR " ... ">" FLD: "<FLD " ... ">" FMT: "<FMT " ... ">" ANY "</FTM>" PERL: "<PERL " ... ">" ... "</PERL>" SELECT: "<SQL_SELECT " ... ">" (... | SELECT) "</SQL_SELECT>" DEFAULT: "<DEFAULT " OPTIONS ">" OPTIONS: OPT (\s+ OPT)* OPT: VALUE \s* "=" \s* VALUE VALUE: (LVAL | FVAL | FFVAL) LVAL: [^\s\>\=]+ FVAL: \' [^\']+ \' FFVAL: \" [^\"]+ \" SQL_VAL: "<SQL_VAL" OPTIONS ">" TXT: Anything else

$sel->token

Returns the current token.

$sel->token($kind)

Returns true if the current token is of the kind $kind.

$sel->token($kind,$val)

Set $val as the curent token, and $kind as the kind of that token.