Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    print '-' x $length, "\n";
    print '| ', sprintf($format, @$_), ' |', "\n",
          '-' x $length, "\n" for @arr;
    
  2. or download this
    ---------------------------------------
    |      | COL1  | COL2 | COL3 | COL4   |
    ...
    ---------------------------------------
    | COL3 | table | of   | data |        |
    ---------------------------------------