NAME

PerlIO::via::EscStatus::ShowNone - suppress all status lines

SYNOPSIS

use PerlIO::via::EscStatus::ShowNone;
binmode (STDOUT, ':via(EscStatus::ShowNone)') or die;

DESCRIPTION

EscStatus::ShowNone is a variant of the EscStatus layer which doesn't show any status lines coming through the stream, only the ordinary output. This can be used for a batch mode or non-interactive mode in a program.

Of course for batch mode it's also possible to simply not print statuses in the first place. You can decide whether it's easier to check a mode flag at the print, or push a layer to strip what's printed. A layer may be easier for suppressing prints from a library or independent parts of a program.

SEE ALSO

PerlIO::via::EscStatus, PerlIO::via

HOME PAGE

http://www.geocities.com/user42_kevin/perlio-via-escstatus/index.html

LICENSE

Copyright 2008 Kevin Ryde

PerlIO-via-EscStatus is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

PerlIO-via-EscStatus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PerlIO-via-EscStatus. If not, see http://www.gnu.org/licenses/.