Term-UI
view release on metacpan or search on metacpan
}
},
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"Locale::Maketext::Simple" : "0",
"Log::Message::Simple" : "0",
"Params::Check" : "0",
"Term::ReadLine" : "0",
"Test::More" : "0.31",
"if" : "0",
"parent" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Term-UI
no_index:
directory:
- t
- inc
requires:
Locale::Maketext::Simple: '0'
Log::Message::Simple: '0'
Params::Check: '0'
Term::ReadLine: '0'
Test::More: '0.31'
if: '0'
parent: '0'
resources:
repository: git://github.com/jib/term-ui.git
version: '0.50'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
Makefile.PL view on Meta::CPAN
NAME => 'Term::UI',
VERSION_FROM => 'lib/Term/UI.pm', # finds $VERSION
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' },
PREREQ_PM => {
'if' => 0,
'parent' => 0,
'Test::More' => 0.31,
'Params::Check' => 0,
'Term::ReadLine' => 0,
'Locale::Maketext::Simple' => 0,
'Log::Message::Simple' => 0,
},
INSTALLDIRS => ( $] >= 5.009005 && $] < 5.012 ? 'perl' : 'site' ),
AUTHOR => 'Jos Boumans <kane[at]cpan.org>',
ABSTRACT => 'User interfaces via Term::ReadLine made easy'
);
sub WriteMakefile1 { #Written by Alexandr Ciornii, version 0.21. Added by eumm-upgrade.
my %params=@_;
my $eumm_version=$ExtUtils::MakeMaker::VERSION;
$eumm_version=eval $eumm_version;
lib/Term/UI/History.pm view on Meta::CPAN
package Term::UI::History;
$Term::UI::History::VERSION = '0.50';
use strict;
use warnings;
use parent
qw! Exporter
Log::Message::Simple
!;
use Log::Message 'private' => 0;
our $HISTORY_FH = \ *STDOUT;
our @EXPORT = qw[ history ];
my $log = Log::Message->new();
=pod
lib/Term/UI/History.pm view on Meta::CPAN
local $Term::UI::History::HISTORY_FH = \*STDERR;
=head1 DESCRIPTION
This module provides the C<history> function for C<Term::UI>,
printing and saving all the C<UI> interaction.
Refer to the C<Term::UI> manpage for details on usage from
C<Term::UI>.
This module subclasses C<Log::Message::Simple>. Refer to its
manpage for additional functionality available via this package.
=head1 FUNCTIONS
=head2 history("message string" [,VERBOSE])
Records a message on the stack, and prints it to C<STDOUT>
(or actually C<$HISTORY_FH>, see the C<GLOBAL VARIABLES> section
below), if the C<VERBOSE> option is true.
lib/Term/UI/History.pm view on Meta::CPAN
=item $HISTORY_FH
This is the filehandle all the messages sent to C<history()> are being
printed. This defaults to C<*STDOUT>.
=back
=head1 See Also
C<Log::Message::Simple>, C<Term::UI>
=head1 AUTHOR
This module by
Jos Boumans E<lt>kane@cpan.orgE<gt>.
=head1 COPYRIGHT
This module is
copyright (c) 2005 Jos Boumans E<lt>kane@cpan.orgE<gt>.
( run in 0.398 second using v1.01-cache-2.11-cpan-a1d94b6210f )