in reply to Re: Perl Environment Variable
in thread Perl CGI Environment Variable

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

Replies are listed 'Best First'.
Re: Re: Re: Perl Environment Variable
by CountZero (Bishop) on Jan 30, 2004 at 06:31 UTC
    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