Subversion Repositories gelsvn

Rev

Rev 198 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 198 Rev 207
1
eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}'
1
eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}'
2
    & eval 'exec perl -w -S $0 $argv:q'
2
    & eval 'exec perl -w -S $0 $argv:q'
3
    if 0;
3
    if 0;
4
 
4
 
5
# ******************************************************************
5
# ******************************************************************
6
#      Author: Chad Elliott
6
#      Author: Chad Elliott
7
#        Date: 6/17/2002
7
#        Date: 6/17/2002
8
#         $Id: mwc.pl 198 2005-12-15 11:30:53Z bj $
8
#         $Id: mwc.pl 198 2005-12-15 11:30:53Z bj $
9
# ******************************************************************
9
# ******************************************************************
10
 
10
 
11
# ******************************************************************
11
# ******************************************************************
12
# Pragma Section
12
# Pragma Section
13
# ******************************************************************
13
# ******************************************************************
14
 
14
 
15
use strict;
15
use strict;
16
use Cwd;
16
use Cwd;
17
use Config;
17
use Config;
18
use FindBin;
18
use FindBin;
19
use File::Basename;
19
use File::Basename;
20
 
20
 
21
my($basePath) = $FindBin::Bin;
21
my($basePath) = $FindBin::Bin;
22
unshift(@INC, $basePath . '/modules');
22
unshift(@INC, $basePath . '/modules');
23
 
23
 
24
require MWC;
24
require MWC;
25
 
25
 
26
# ************************************************************
26
# ************************************************************
27
# Subroutine Section
27
# Subroutine Section
28
# ************************************************************
28
# ************************************************************
29
 
29
 
30
sub getBasePath {
30
sub getBasePath {
31
  return $basePath;
31
  return $basePath;
32
}
32
}
33
 
33
 
34
# ************************************************************
34
# ************************************************************
35
# Main Section
35
# Main Section
36
# ************************************************************
36
# ************************************************************
37
 
37
 
38
my($driver) = new MWC();
38
my($driver) = new MWC();
39
exit($driver->execute($basePath, basename($0), \@ARGV));
39
exit($driver->execute($basePath, basename($0), \@ARGV));
40
 
40