NAME

mktable - generate an HTML table.

SYNOPSIS

mktable method [options]

Options:
  --param      parameters, multiple allowed
  --display    display results via HTML::Display
  --help       list usage for methods and parameters
  --man        print man page

OPTIONS

--param

The params. Use the --help option to display documentation about a particular parameter (or method).

--param file=/path/to/file.csv
--param indent='"    "'
--param table='{class=>"foo"}'
--display

Display results to your browser via HTML::Display.

--help

Will attempt to look up option value as a method or parameter, display it and exit. If value is a colon separated 'tuple' then the first element is assumeted to be a preset method and the second is its specific parameter.

--help file
--help select:values
--man

Prints the manual page and exits.

--version

Prints the versions of the core modules used.

EXAMPLES

mktable portrait --param file=data.xls > out.html

# portrait is default generation method
mktable --param file=data.xls --param preserve=1 > out.html

# wrap references with quotes:
mktable --param -r1='{class=>"foo"}'

# wrap pure whitespace with quotes:
mktable --param indent='"    "'

# display output to browser with HTML::Display
mktable landscape --param data=[[a..d],[1..4],[5..8]] --display

mktable conway --param data=[1..300] --param wrap=20 --param matrix=1 --display

mktable sudoku --display

# banner requires you to install and configure Text::FIGlet
mktable banner --param text="'hello world'" --param scroll=1 --param bx=1 --display

SEE ALSO

Spreadsheet::HTML

The engine behind this script.