- or download this
$KitDir = cwd;
print "$KitDir\n"; # prints 'cwd'
...
print "$Kdir\n"; # prints 'C:/TEMP'
$Kdir =~ s|/|\\|g; # not necessary! Don't!
print "$Kdir\n"; # prints 'C:\TEMP'
- or download this
$ENV{'KITDIR'} = $KitDir; #assigns $KitDir value to
#KITDIR key in ENV hash
- or download this
$KitDir = $ENV{'KITDIR'};
if ($KitDir eq "")
{
$KitDir = $Config::Conn{KitDir};
}
- or download this
$ENV{'KITDIR'} ||= $Config::Conn($KitDir);