Software Index
Linux Software Programming  

Term::Emit

download download home home   report broken
important software information
company name:
Steve Roscio
license: Freeware
minimum requirements:
functional limitations:
Term::Emit description
Term::Emit is a Perl module used to print balanced and nested messages with a completion status. These messages indent easily within each other, autocomplete on scope exit, are easily parsed, may be bulleted, can be filtered, and even can show status in color.

For example, you write code like this:

use Term::Emit qw/:all/;
emit "Reconfiguring the grappolator";
do_whatchamacallit();
do_something_else();

It begins by printing:

Reconfiguring the grappolator...

Then it does "whatchamacallit" and "something else". When these are complete it adds the rest of the line: a bunch of dots and the [DONE].

Reconfiguring the grappolator............................... [DONE]

Your do_whatchamacallit() and do_something_else() subroutines may also emit what they're doing, and indicate success or failure or whatever, so you can get nice output like this:

Reconfiguring the grappolator...
Processing whatchamacallit................................ [WARN]
Fibulating something else...
Fibulation phase one.................................... [OK]
Fibulation phase two.................................... [ERROR]
Wrapup of fibulation.................................... [OK]
Reconfiguring the grappolator............................... [DONE]

A series of examples will make Term::Emit easier to understand.

SYNOPSIS

For a script like this:

use Term::Emit qw/:all/;
emit "System parameter updates";
emit "CLOCK_UTC";
#...do_something();
emit_ok;

emit "NTP Servers";
#...do_something();
emit_error;

emit "DNS Servers";
#...do_something();
emit_warn;

You get this output:

System parameter updates...
CLOCK_UTC................................................. [OK]
NTP Servers............................................... [ERROR]
DNS Servers............................................... [WARN]
System parameter updates.................................... [DONE]. Haunted Mines - Halloween Haunted House in Colorado Springs, CO. Haunted Mines - Halloween Haunted House in Colorado Springs, CO - Experience Total Terror! Indoor, outdoor, and underground!
Similar software
Term-Emit-Format-HTML (Popularity: ) : This module reformats the output from an application that uses
Term::Emit into a chunk of HTML, which you can embed in a web page.

This module is handy if you write Web UIs that wrap a command line
utility and show the output ...

YATG (Popularity: ) : YATG is a Perl module which is intended to be run persistently. At intervals it will wake up and poll network devices for SNMP data, and then store or print that data. In this distribution are also included examples for ...
Agilefant (Popularity: ) : Agilefant answers the call for backlog management when spreadsheets meet their limits. If you are using agile or time-paced software development methods - or only some of the juiciest bits - you face the quest of linking your business strategies ...
Bundle::Delivery (Popularity: ) : Bundle::Delivery contains modules required to run the Delivery and/or Tapestry web-publishing applications.

SYNOPSIS

perl -MCPAN -e 'install Bundle::Delivery'

This bundle provides an easy way to install all the modules used by the web-publishing and community-management application Delivery, and its more esoteric online-story-weaving sibling ...

Math::Symbolic::Operator (Popularity: ) : Math::Symbolic::Operator is a Perl module with operators in symbolic calculations.

SYNOPSIS

use Math::Symbolic::Operator;

my $sum = Math::Symbolic::Operator->new('+', $term1, $term2);

# or:
my $division =
Math::Symbolic::Operator->new(
{
type => B_DIVISON,
operands => [$term1, $term2],
}
);

my $derivative =
Math::Symbolic::Operator->new(
{
type ...

Math::Symbolic::Custom::Transformation (Popularity: ) : Math::Symbolic::Custom::Transformation is a Perl extension to the Math::Symbolic module. You're assumed to be remotely familiar with that module throughout the documentation.

This package implements transformations of Math::Symbolic trees using Math::Symbolic trees. I'll try to explain what this means in the following ...

Test-Run (Popularity: ) : Test-Run is an improved test harness for scripts that emit TAP (Test Anything Protocol). It was forked from Test::Harness, and it uses TAP::Parser.

The project is used to analyze the output of the scripts and present it to the user in ...

Text::TermExtract (Popularity: ) : Text::TermExtract is a Perl module to extract terms from text.

SYNOPSIS

use Text::TermExtract;

my $text = { Hey, hey, how's it going? Wanna go to Wendy's
tonight? Wendy's has great sandwiches." };

my $ext = Text::TermExtract->new();

for my $word ( $ext->terms_extract( ...

Date::ISO8601 (Popularity: ) : The international standard ISO 8601 "Data elements and interchange formats - Information interchange - Representation of dates and times" defines three distinct calendars by which days can be labelled. It also defines textual formats for the representation of dates in ...
Term-Emit-Format-HTML (Popularity: ) : This module reformats the output from an application that uses
Term::Emit into a chunk of HTML, which you can embed in a web page.

This module is handy if you write Web UIs that wrap a command line
utility and show the output ...

Test::GlassBox::Heavy (Popularity: ) : If you have a Perl program to test, one approach is to run the program with various command line options and environment settings and observe the output. This might be called black box testing because you're treating the program as ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar scripts
Term::Visual (Popularity: ) : Term::Visual provides a (hopefully) easy and intuitive interface for quickly making ncurses-based irssi/ircII-style interfaces.&kly makin
Term Merge 5.x- (Popularity: ) : All nodes tagged with the old Term are updated to point to the new Term, and the old Term is added as a synonym of the new one.A "merge" link is added at the bottom of the Edit Term form.InstallationUnpack ...
Term Blocks 5.x-1.x-de (Popularity: ) : Terms can be listed as Newest (nodes have recently been added to this term), Popular, Random, or Tag Cloud (via Tagadelic).InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: · Drupal 5.x
Edit term 5.x- (Popularity: ) : This makes it easier to immediately edit term name, synonyms, description, and weight for the term you are viewing without navigating through your site's administrative back end.The module also allows you to set a URL-alias for the term.InstallationUnpack in your ...
Term blacklist 5.x-1.x-de (Popularity: ) : It also allows for specifying a substitute for a blacklisted term.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: · Drupal 5.x
Node Auto Term (Popularity: ) : For example when a node is created, an equivalent taxonomy term is automatically created in any associated vocabularies.Installation - Unpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: · Drupal 4.7.x/5.x/6.x
Primary Term (Popularity: ) : For nodes that can have multiple terms from a single vocabulary, a primary term can specify which summary page the node should be listed on, which theme template to apply, etc.Installation - Unpack in your modules folder (usually /sites/all/modules/) and ...
Term Tree (Popularity: ) : Provides a widget for Content Taxonomy module similar to Taxonomy Tree with one major difference - it only loads term tree branches required instead of rendering the entire taxonomy tree on page load.At the moment it has been tested to ...
Term Structure of Volatility Calibration (Popularity: ) : This code optimises the parameters for the term structure of volatility (TSOV) applied to historical forward curves - see discussion in Harris in reference 1 below. TSOVs avaible are: TermType - 1 = sigma = A exp (-CT) - 2 ...
Term blacklist (Popularity: ) : Provides a term blacklist for freetagging vocabulary.
Rate me
supported os's
stats
downloads 5
version 0.0.2
size in Kb 20
popularity   
1082/1272475
user rating 5/10
our rating 0 Stars
share info
Recommend Term::Emit
Report spyware
New Software
Popular Software
Latest Reviews