Ignore:
Timestamp:
2011-07-04T15:01:03+12:00 (13 years ago)
Author:
ak19
Message:

More changes to do with obtaining the perlpath using Config: moved the Use Config statement into the Begin block (it cannot be a Require statement for some reason).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/gti.pl

    r24192 r24223  
    3333
    3434    if(!$ENV{'PERLPATH'}) {
     35    use Config; # for getting the perlpath in the recommended way
    3536    my $full_perl_exec = $Config{perlpath}; #$^X;
    3637    require File::Basename;
     
    4344use strict;
    4445use util;
    45 use Config; # for getting the perlpath (above!) in the recommended way
    4646
    4747
Note: See TracChangeset for help on using the changeset viewer.