#!/usr/bin/perl use strict; use warnings; use SVN::Notify; my $command = 'perl'; my $exe = SVN::Notify->find_exe($command); if( defined $exe ) { print "Command \"$command\" exists!"; } else { print "Command \"$command\" does NOT exist!"; }