in reply to Re^2: finding installed module directory
in thread finding installed module directory
I got what I wanted.my $jroot=""; foreach my $a (keys %INC) {if ($INC{$a}=~/(.*)jinit.pm/){$jroot=$1}} die "I cannot find datadirectory\n" if ($jroot eq "");
|
|---|