Help for this page

Select Code to Download


  1. or download this
    my $tmpfh = File::Temp::tempfile();
    File::Copy::copy($file, $tmpfh);
    
  2. or download this
    my($tmpfh, $tmpfile) = File::Temp::tempfile(UNLINK => 1);
    File::Copy::copy($file, $tmpfile);