Item12414: tempfile is not an object method.

Next version of File::Temp will die if called as File::Temp->tempfile()

git-svn-id: http://svn.foswiki.org/trunk@16581 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item12413: defined @array is deprecated, dies on perl 5.16

git-svn-id: http://svn.foswiki.org/trunk@16582 0b4bb1d4-4e5a-0410-9cc4-b2b747904278