DOKK / manpages / debian 11 / lintian / Lintian::IO::Async.3.en
Lintian::IO::Async(3) Debian Package Checker Lintian::IO::Async(3)

Lintian::IO::Async - process functions based on IO::Async

 use Lintian::IO::Async qw(safe_qx);

This module contains process functions based on IO::Async.

"safe_qx(@cmd)"
Emulates the "qx()" operator but with array argument only.
Extracts the control file from DEBFILE and returns it as a hashref.

DEBFILE must be an ar file containing a "control.tar.gz" member, which in turn should contain a "control" file. If the "control" file is empty this will return an empty list.

Note: the control file is only expected to have a single paragraph and thus only the first is returned (in the unlikely case that there are more than one).

lintian(1)

2020-11-27 Lintian v2.104.0