SYNOPSIS

     use MediaWiki::Table::Tiny;
    
     my $rows = [
         # header row
         ['Name', 'Rank', 'Serial'],
         #
         ['alice', 'pvt', '123456'],
         ['bob',   'cpl', '98765321'],
         ['carol', 'brig gen', '8745'],
     ];
     print MediaWiki::Table::Tiny::table(rows => $rows);

    Result:

     {| class="wikitable" style="text-align:center" border="1"
     |-
     ! Name !! Rank !! Serial
     |-
     | alice || pvt || 123456
     |-
     | bob || cpl || 98765321
     |-
     | carol || brig gen || 8745
     |-
     |}

DESCRIPTION

    This module can be used to generate MediaWiki table from table data.
    The interface is inspired from Text::Table::Tiny.

FUNCTIONS

 table(%args) => str

    Generate table in MediaWiki format. Arguments (* marks required
    argument):

      * rows* => aoa

      * caption => str

