mtrasp has asked for the wisdom of the Perl Monks concerning the following question:
i want to be always Kitdir value is D:\kitTemp then only i wont get any errors..$KitDir = cwd; $KitDir =~ s|/|\\|g; $ENV{'KITDIR'} = $KitDir after the 1000 lines of script they are using like this ,, $KitDir = $ENV{'KITDIR'}; if ($KitDir eq "") { $KitDir = $Config::Conn{KitDir}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: variable initilization
by 7stud (Deacon) on Nov 24, 2009 at 05:44 UTC | |
|
Re: variable initilization
by Ratazong (Monsignor) on Nov 24, 2009 at 07:34 UTC | |
|
Re: variable initilization
by Marshall (Canon) on Nov 24, 2009 at 14:04 UTC | |
by mtrasp (Acolyte) on Nov 25, 2009 at 21:24 UTC | |
by Marshall (Canon) on Nov 26, 2009 at 03:58 UTC | |
|
Re: variable initilization
by doug (Pilgrim) on Nov 24, 2009 at 15:24 UTC |