Boon Chong Ang wrote:

Hi,

My name is Boon Chong. I have question. Just say, I run a perl script
and in between of the process I create a temporarily file for checking
purpose. Now, how do I ask perl to delete the file automatically?



Automatically as in, when the script finished executing? Use the END block for this, add this piece code to your script END { unlink ($tmp_filename); }




Thank you & best regards,


ABC









-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to