Skip to content

Commit

Permalink
Item12414: tempfile is not an object method.
Browse files Browse the repository at this point in the history
Next version of File::Temp will die if called as File::Temp->tempfile()

git-svn-id: http://svn.foswiki.org/branches/Release01x01@16579 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Mar 2, 2013
1 parent 4b3fe9e commit 62399f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Sandbox.pm
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ sub sysCommand {

# Note: Use of the file handle $fh returned here would be safer than
# using the file name. But it is less portable, so filename wil have to do.
my ( $fh, $stderrCache ) = File::Temp->tempfile(
my ( $fh, $stderrCache ) = File::Temp::tempfile(
"STDERR.$$.XXXXXXXXXX",
DIR => "$Foswiki::cfg{WorkingDir}/tmp",
UNLINK => 0
Expand Down

0 comments on commit 62399f9

Please sign in to comment.