10 $PROGRAM_DIR =~ s/[^\/\\]+$//;
11 $PROGRAM_DIR = "./" unless($PROGRAM_DIR);
13 map "$PROGRAM_DIR$_",qw{modules lib
../modules
..lib
};
17 my @OPTIONS = qw
/help|h|? version|ver edit-me manual|man/;
22 require MyPlace
::Usage
;
23 Getopt
::Long
::GetOptions
(\
%OPTS,@OPTIONS);
24 MyPlace
::Usage
::Process
(\
%OPTS,$VERSION);
39 if($cmd =~ m/^(DOWNLOAD|ECHO|DUMP)$/i)
50 while(@ARGV && $current < $max_count)
52 $query[$current] = shift;
56 print STDERR
join(' ',('urlrule_task',$cmd,join(',',@query))),"\n";
57 exec('urlrule_task',$cmd,join(',',@query));
66 urlrule_task_newly - PERL script
70 urlrule_task_newly [options] ...
78 Print version infomation.
82 Print a brief help message and exits.
84 =item B<--manual>,B<--man>
86 View application manual
90 Invoke 'editor' against the source
100 2010-06-22 xiaoranzzz <xiaoranzzz@myplace.hell>
106 xiaoranzzz <xiaoranzzz@myplace.hell>