Git.pm: call Error::Simple() properly
PATCH 1/1 Git.pm: call Error::Simple() properly
The error message to Error::Simple() must be passed as a single argument.
Signed-off-by Jay Soffian <[email protected]>
--- perl/Git.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
perl/Git.pm +2 -2
@@ -1010,8 +1010,8 @@ sub _temp_cache { my $temp_fd = \$TEMP_FILEMAP{$name}; if (defined $$temp_fd and $$temp_fd->opened) { if ($TEMP_FILES{$$temp_fd}{locked}) { - throw Error::Simple("Temp file with moniker '", - $name, "' already in use"); + throw Error::Simple("Temp file with moniker '" . + $name . "' already in use"); } } else { if (defined $$temp_fd) {
Signature · 1 line
1.6.1.77.g81ea1