Is it correct because it it not deleting the file like i want to.while ( $filename = readdir(DIR) ) { if ( $filename =~ /\.txt$/i ) { my ($variable)=Read_File( $scan_dir, $filename ); Scan_File($variable); Send_Email($variable); unlink( $filename ); } }
In reply to Deleting a File by phimtau123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |