in reply to Using File::Temp Names

What do you mean by "pass getTempParamFileName() as a parameter to ScriptB"? If you're exporting the function, the most likely reason tempfile is not found is because you need to use File::Temp.

Replies are listed 'Best First'.
Re^2: Using File::Temp Names
by novicepl (Initiate) on Aug 01, 2006 at 03:14 UTC
    I mean, I pass the file name I get it from getTempParamFileName() to ScriptB. Debugging does says filename being passed is /tmp/efeRsfSd ... but ScriptB can not see file /tmp/efeRsfSd and gives error message file /tmp/efeRsfSd not found.