in reply to CHMOD permissions for Perl Script
And if you want to make it platform independent, just use:
And there are even module that will let you write to a temporary file - but I can't judge from your question whether that will be appropriate for your needs.my $tmpdir = do { require 'File::Spec'; File::Spec->tmpdir(); };
|
|---|