Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello,
thanks for the reply. >open relies only on the path information you pass to it. Here I cannot specify the path name since a process id also gets attached to the temp. folder name at run time e.g >you need to use a utility function to extract the file from the EXE I've tried using code like this in my .pl When I create the .exe using PerlApp and run it , the exe cannot open myfile.txt. I keep getting this error: What am I doing wrong here? >I'm not sure why you're writing to the file, though, because it's really only a temporary file. PerlApp treats the attached text files as temporary ones, but in the application I've written they are not temorary. The .pl script needs to read data from the text file,process it, and also update it (append to it).Each time the .exe runs, the .pl script needs to use the updated version of the text file, that was created in the previous run. Is there no way to get around this? Thanx, :) In reply to Re: Re: Writing to a packaged file with PerlApp
by perl_seeker
|
|