#!/usr/bin/perl use strict; use warnings; use SVN::Notify; my $command = 'xmllint --version'; open(my $CMD, "$command |") or die $!; my $exe = SVN::Notify->find_exe($command); while (<$CMD>) { print $_; } close $CMD;