So there is no temp file concept. I have to create unique names to use in the same file. #### my $counter = 0; sub unique_stamp { return join '_', $$, time, $counter++; }