Need perl help to remove dpkg dependency on licensecheck (devscripts-minimal)

Ville Skyttä ville.skytta at
Fri Oct 9 10:26:48 UTC 2015

On Fri, Oct 9, 2015 at 1:05 PM, Sandro Mani <manisandro at> wrote:
> can anyone suggest an alternative way to accomplish the same which
> does not use spawn from Dpkg::IPC?
> [1]

# at top of licensecheck
use IPC::Run qw(run);
# then later to get the desired output to $mime
my $mime;
run [qw(file --brief --mime --dereference), $file], \undef, \$mime;

More information about the devel mailing list