No such thing as a small change | |
PerlMonks |
Writing to a packaged file with PerlAppby perl_seeker (Scribe) |
on Nov 11, 2003 at 11:28 UTC ( [id://306155]=perlquestion: print w/replies, xml ) | Need Help?? |
perl_seeker has asked for the wisdom of the Perl Monks concerning the following question:
Hello, I've written some of this stuff in earlier posts, but it's required here too. I have been trying to create an exe file of a Perl script and am using PerlApp which comes with ActiveState's PDK 5.0. I'm using PerlApp to pack a .pl file along with text files and .pm's Once we run the .exe file,the text files packed with the .exe get extracted in the c:\windows\temp folder in this way: c:\windows\temp\pdk-username-856877 the process id gets appended to the folder name. Suppose I use stmts like this to open mytextfile.txt in myscript.pl My .pl script can't find the text file. I keep getting this error: According to the PerlApp docs, if we use the 'extract' option with --bind: But the temp. folder in which the text files are extracted is not getting added to the PATH environment variable. I tried adding it to PATH , while not quitting the application,but that also didn't work.What is the problem here? Please help!Thanks in advance. :) 2006-01-19 Retitled by Arunbear, as per Monastery guidelines
Back to
Seekers of Perl Wisdom
|
|