Errrr. You're using an archaic and still possibly "bad apple" tempfile algorithm. Instead, try
File::Temp or
POSIX::tmpnam().
AgentM Systems nor Nasca Enterprises nor
Bone::Easy nor Macperl is responsible for the
comments made by
AgentM. Remember, you can build any logical system with NOR.