[perl #59650] File::Copy does not handle file objects sanely
authorrabbit+bugs@rabbit.us <rabbit+bugs@rabbit.us>
Mon, 6 Oct 2008 04:19:10 +0000 (21:19 -0700)
committerNicholas Clark <nick@ccl4.org>
Sun, 19 Oct 2008 12:04:31 +0000 (12:04 +0000)
commite55c0a828f279342571a887d09d7309727bcde4a
treeae219a78088527047581e84818c79859b3cf9c41
parent486bcc50ba13b9bb0f294f39e26e6e0d78f5f1fe
[perl #59650] File::Copy does not handle file objects sanely
From: "rabbit+bugs@rabbit.us (via RT)" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-29762-1223291950-1373.59650-75-0@perl.org>

Suggested change modified to cope with the hoop-jumping needed to keep
File::Copy working whilst bootstrapping the core build.

Some tests by me, to try to ensure that (arguablly buggy) IO::Scalar
will still work.

p4raw-id: //depot/perl@34519
lib/File/Copy.pm
lib/File/Copy.t