From: "david@dhaller.de (via RT)" <perlbug@perl.org>
Message-Id: <rt-18065-40384.14.
044473925414@bugs6.perl.org>
p4raw-id: //depot/perl@18122
bye(); # does the necessary cleanup
END {
- unlink "big"; # be paranoid about leaving 5 gig files lying around
+ # unlink may fail if applied directly to a large file
+ open(BIG, ">big");
+ print BIG "x";
+ close(BIG);
+ unlink "big"; # be paranoid about leaving 5 gig files lying around
}
# eof
bye(); # does the necessary cleanup
END {
- unlink "big"; # be paranoid about leaving 5 gig files lying around
+ # unlink may fail if applied directly to a large file
+ open(BIG, ">big");
+ print BIG "x";
+ close(BIG);
+ unlink "big"; # be paranoid about leaving 5 gig files lying around
}
# eof