2 ###APPNAME: discuz_index
4 ###APPDATE: 2009-01-16 15:20:25
6 ###APPDESC: discuz_index
8 ###APPEXAMPLE: discuz_index
12 #ENV variable MUST be defined somewhere,
13 #FOR perl to search modules from,
15 use lib
$ENV{XR_PERL_MODULE_DIR
};
17 use MyPlace
::Script
::Usage qw
/help_required help_even_empty/;
18 exit 0 if(help_required
($0,@ARGV));
19 #exit 0 if(help_even_empty($0,@ARGV));
21 use MyPlace
::Discuz
::Index
;
22 my $index = MyPlace
::Discuz
::Index
->new(@ARGV);
23 use Data
::Dumper
;die Dumper
($index),"\n";