Just to be different: This will give you the installed perl version and the path of the installed perl.
#!/usr/bin/perl
use strict;
use warnings;
use File::Spec;
use SVN::Notify;
my $exe_name = 'perl';
my $exe = SVN::Notify->find_exe($exe_name);
print "Perl $]\n";
print "$exe\n";