9 our $PROGRAM_DIR = $ENV{XR_PERL_SOURCE_DIR
};
10 unless($PROGRAM_DIR) {
12 $PROGRAM_DIR =~ s/[^\/\\]+$//;
13 $PROGRAM_DIR =~ s/\/+$//;
14 $PROGRAM_DIR = "." unless($PROGRAM_DIR);
17 map "$PROGRAM_DIR/$_",qw{modules lib
../modules
..lib
};
21 my @OPTIONS = qw
/help|h|? version|ver edit-me manual|man/;
26 require MyPlace
::Usage
;
27 Getopt
::Long
::GetOptions
(\
%OPTS,@OPTIONS);
28 MyPlace
::Usage
::Process
(\
%OPTS,$VERSION);
32 require MyPlace
::Usage
;
33 MyPlace
::Usage
::PrintHelp
();
44 ___NAME___ - PERL script
48 ___NAME___ [options] ...
56 Print version infomation.
60 Print a brief help message and exits.
62 =item B<--manual>,B<--man>
64 View application manual
68 Invoke 'editor' against the source
78 ___DATE___ ___AUTHOR___ <___EMAIL___>
84 ___AUTHOR___ <___EMAIL___>