Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Text::ASCIITable 0.18

    Download button

    No screenshots available
    Downloads: 490  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.6/5)
    6 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Hkon Nessjen | More programs
    Perl Artistic License / FREE
    December 21st, 2007, 11:20 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Text::ASCIITable description

    A Perl module to create a nice formatted table using ASCII characters.

    Text::ASCIITable is a Perl module to create a nice formatted table using ASCII characters.

    SYNOPSIS

    use Text::ASCIITable;
    $t = Text::ASCIITable->new({ headingText => 'Basket' });

    $t->setCols('Id','Name','Price');
    $t->addRow(1,'Dummy product 1',24.4);
    $t->addRow(2,'Dummy product 2',21.2);
    $t->addRow(3,'Dummy product 3',12.3);
    $t->addRowLine();
    $t->addRow('','Total',57.9);
    print $t;


    # Result:
    .------------------------------.
    | Basket |
    +----+-----------------+-------+
    | Id | Name | Price |
    +----+-----------------+-------+
    | 1 | Dummy product 1 | 24.4 |
    | 2 | Dummy product 2 | 21.2 |
    | 3 | Dummy product 3 | 12.3 |
    +----+-----------------+-------+
    | | Total | 57.9 |
    '----+-----------------+-------'



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    formatted table | ASCII characters | Perl module | ASCII | characters | formatted

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM