Git.pm: Use File::Temp->tempfile instead of ->new
commit836ff95df6de9924cf8cf23515e3779a67a6bdec
authorMarcus Griep <marcus@griep.us>
Mon, 8 Sep 2008 16:53:01 +0000 (8 12:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Sep 2008 18:45:22 +0000 (10 11:45 -0700)
treec80c2a77c4b23c2bda00257928b2949ee79277a2
parent1e368681bd8c35202b91f8998e07d8bbb3de6c7c
Git.pm: Use File::Temp->tempfile instead of ->new

Perl 5.8.0 ships with File::Temp 0.13, which does not have the new()
interface introduced in 0.14, as pointed out by Tom G. Christensen.

This modifies Git.pm to use the more established tempfile() interface
and updates 'git svn' to match.

Signed-off-by: Marcus Griep <marcus@griep.us>
Acked-by: Eric Wong <normalperson@yhbt.net>
Tested-by: Tom G. Christensen <tgc@statsbiblioteket.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl
perl/Git.pm