NAME
    Term::Spark

SYNOPSIS
    Displays beautiful graphs to use in the terminal

DESCRIPTION
  METHODS
    Returns a string with a single utf8 bar according to the value

        Term::Spark::show_bar($value_for_this_bar, $max_value);

    Returns a string with a bunch of utf8 bars according to the values

        Term::Spark::show_graph('max' => $max_value, 'values' => \@values);

    Example:

        A script to capture args or STDIN and print a graph:

        use Term::Spark;

        chomp( @ARGV = <STDIN> ) unless @ARGV;

        my @list = sort { $a <=> $b } @ARGV;

        print Term::Spark::show_graph(
            'max'     => $list[-1],
            'values'  => \@ARGV,
        );

NAME
    Term::Spark - Perl extension for dispaying bars in the terminal

SEE ALSO
    Original idea: https://github.com/holman/spark

AUTHOR
    Gil Gonçalves <lurst@cpan.org>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2013 by Gil Gonçalves.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.