Hakan Ardo > DBIx-HTMLView > DBIx::HTMLView::Fld

Download:
DBIx-HTMLView-0.9.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

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.

syntax highlighting: