Linux SoftwareProgrammingLibrariesSys::OutPut 2.1

Sys::OutPut 2.1


Sys::OutPut is a Perl module to help make output easier. SYNOPSIS usage Sys::OutPut; talk $fmtstr [, @args]; out $
Developer:   Alan K. Stebbens
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   10K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Sys::OutPut is a Perl module to help make output easier.

SYNOPSIS

usage Sys::OutPut;

talk $fmtstr [, @args];

out $fmtstr [, @args];

put $fmtstr [, @args];

err $fmtstr [, @args];

debug $fmtstr [, @args];

$Sys::OutPut::quiet = $::quiet;

$Sys::OutPut::debug = $::debug;

These subroutines will make generating output to STDOUT and STDERR easier.

All of the routines treat the $fmtstr argument as a printf format string, with @args as the format string arguments.

The talk routine generates output to STDERR only if the variable $Sys::OutPut::quiet is non-null and non-zero.

The out routine generates output to STDOUT, with a newline appended to , if it is not already terminated with one.

The put routine generates output to STDOUT, without any additional trailing newline.

The err routine generates output to STDERR, with a newline appended if needed.

The debug routine generates output to STDERR only if the variable

$Sys::OutPut::debug is non-null and non-zero, which is also returned as the result.

This allows for convenient usages such as in the following example:

sub foo {
...
return if debug "Stopping now.";
...
next if debug "Skipping further processing";
...
}

If not defined by the user, the $Sys::OutPut::quiet and $Sys::OutPut::debug variables are initialized from their corresponding main variables $::quiet and $::debug, respectively, unless they are already defined.

Requirements:
  • Perl
    tags sys output  generates output  routine generates  fmtstr @args  output debug  output quiet  and non  non zero  newline appended  quiet and  null and  stderr only  format string  

    Download Sys::OutPut 2.1


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/A/AK/AKSTE/Sys-OutPut-2.1.tar.gz


    Authors software

    Sys::OutPut 2.1 (by Alan K. Stebbens)
    Sys::OutPut is a Perl module to help make output easier.

    SYNOPSIS

    usage Sys::OutPut;

    talk $fmtstr [, @args];

    out $

    Term::Query 2.0 (by Alan K. Stebbens)
    Term::Query is a table-driven query routine.

    SYNOPSIS

    use Term::Query
    qw( query query_table query_table_set_defaults query_tab


    Similar software

    Sys::OutPut 2.1 (by Alan K. Stebbens)
    Sys::OutPut is a Perl module to help make output easier.

    SYNOPSIS

    usage Sys::OutPut;

    talk $fmtstr [, @args];

    out $

    Crikey 0.5 (by Akkana Peck)
    Crikey Map Strings to Keys is a program to generate key events under X11 on a Linux/Unix system, in order to provide a "QuickKeys"-li

    Getargs::Long 1.1001 (by Raphael Manfredi)
    Getargs::Long is a Perl module with named subroutine arguments, with optional type checking.

    SYNOPSIS

    use Getargs::Long;

    C++ Debugging Support library 0.99.45 (by Carlo Wood)
    Libcwd is a full-featured and well-documented library that assists C++ developers with debugging their applications.

    C++ Debugging

    Solaris::Disk::SVM::Graph 0.03 (by J?r?me Fenal)

    d command 5.3 (by Dave Yost)
    The d command runs a command in the background and redirects its output to a file

    GL-117 1.3.2 (by Thomas Drexl)
    GL-117 is an action flight simulator for Linux/Unix and MSWindows

    HaRe 1.4 (by Ori Brost)
    HaRe is a Hebrew handwriting recognition engine

    POE::Component::Generic 0.0904 (by David Davis and Teknikill Software)
    POE::Component::Generic is a POE component that provides non-blocking access to a blocking object.

    SYNOPSIS

    use POE::Compon

    Parrot::Pmc2c 0.4.5 (by The Parrot Project Team)
    Parrot::Pmc2c is a PMC to C Code Generation.

    SYNOPSIS

    use Parrot::Pmc2c;

    Parrot::Pmc2c (and the subclasses defined i


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags