# from [EMAIL PROTECTED] # on Friday 18 May 2007 01:18 pm: >1. When I execute my code from the web, I get the > following error,Couldn't find an appropriate DIRECTORY for Inline to > use.I am thinking this probably has something to do with > permissions???
Permissions and/or environment. In most cases, apache's $HOME is /tmp/. Possibly creating /tmp/.Inline as apache writable would do. (Or, not writable, but preseeded with built code.) > Where is a good place for Inline to create a directory > while running within a CGIscript? You can also tell inline to use a directory. If this already has built code, it doesn't need to be writable. The most secure thing in cgi usage would probably be installing the inlined code in your @INC. Read the bit about 'VERSION => ...' in the Inline.pod docs for how to make it not attempt to rebuild. >2. When I use the -T switch/run it in taint > mode, I get the following error message.Insecure dependency in > require while running with -T switch at blib/lib/Inline.pm (autosplit > into blib/lib/auto/Inline/find_temp_dir.al) line 1247 Hmm, taint mode checks usage of environment variables, right? You're probably looking at File::Temp, but check the source + perlsec and see what you find. Of course, may not be an issue if you do the installed-code usage as mentioned above. --Eric -- Entia non sunt multiplicanda praeter necessitatem. --Occam's Razor --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------