IPC::Filter
filter data through an external process
- Provided by: libipc-filter-perl (Version: 0.004-2)
- Report a bug
filter data through an external process
use IPC::Filter qw(filter);
$compressed_data = filter($data, "bzip2");
The "filter" function provided by this module passes data through an external command, thus providing filtering in non-pipeline situations.
If the process exits with a non-zero exit code or on a signal, the function will "die". In the case of a non-zero exit code, the "die" message will duplicate the process's standard error output; in any other case, the error output is discarded.
IPC::Open2
Andrew Main (Zefram) <zefram@fysh.org>
Copyright (C) 2004, 2007, 2010, 2011 Andrew Main (Zefram) <zefram@fysh.org>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.