... open( ATTA, ">$tempfile" ) || die "Can't open $tempfile: $!"; binmode ATTA; rename $tempfile, "tempdir/".$new_filename or die "Cannot rename fil +e: $!"; } while ( <$attach> ) { ...
In reply to Re^2: File "rename" error in renaming a file.
by Anonymous Monk
in thread File "rename" error in renaming a file.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |