in reply to svn merge using perl script
my $output = qx{ svn merge -c39,46 $sourceBranchURL }; [download]
and parse the output for conflicts. Or, search CPAN for SVN related libraries.