"Langa F. Kentane" wrote:

> Greetings,
> How would I go about shredding a file with perl, for instance, I have a
> script opening a time file, writing something in there and then deleting
> the
> temp file when execution is done. How would I go about securely deleting
> the
> temp file afterwards so that prying eyes can't read it afterwards?

I am not sure I understand the question correctly, do you want to
delete the file only when the execution finishes. If so add this to
your code
END {
    unlink ($your_temp_file) or "Error statement : $!\n";
}
This block will only be executed when the code execution
finishes.

>
>
> Any pointers would be greatly appreciated.
>
> Regards
>
> LK
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to