[interchange] Change operator to Perl 5.8-compatible one

David Christensen interchange-cvs at icdevgroup.org
Fri Jun 23 13:02:44 UTC 2017


commit 6956a16d2c1eb28e017f58a41c51ff1d996fbd99
Author: David Christensen <david at endpoint.com>
Date:   Fri Jun 23 08:01:58 2017 -0500

    Change operator to Perl 5.8-compatible one

 lib/Vend/File.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Vend/File.pm b/lib/Vend/File.pm
index 6d9d4ee..b749e1e 100644
--- a/lib/Vend/File.pm
+++ b/lib/Vend/File.pm
@@ -711,7 +711,7 @@ sub allowed_file {
 	$Vend::File::errstr = '';
 	if(	$Global::NoAbsolute
 			and
-		$pat = $Global::AllowedFileRegex->{$Vend::Cat // ''}
+		$pat = $Global::AllowedFileRegex->{$Vend::Cat || ''}
 			and
 		$fn !~ $pat
 			and



More information about the interchange-cvs mailing list