in reply to Perl CGI Environment Variable

Are you running the other script under the same shell? May be your other script has modified the HOME environment variable. It would certainly help if you show us your code, as davido said.

Replies are listed 'Best First'.
text area and split function
by sasikumar (Monk) on Jan 30, 2004 at 06:22 UTC
    Hi, I am getting a list of files in a text area when i get this text area using the param function i got it as a scalar variable. now i need it to be seperated in to an array based on the newline in the text area can anyone tell me how to do it. i tried it with split i was not able to acive it Thank you sasi kumar
      Maybe the cron-process is running as another user who doesn't have a HOME-environment variable set and your script "inherits" its environment (just guessing here as I have no knowledge of Sun/Solaris).

      Did you try checking whether the cron-process has access to the Home-environment variable?

      CountZero

      "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law