updated git and svn scripts
[xrzperl.git] / urlrule_task_kill
blob6ffcc43726b82a9d0badd021a8590338882c06c6
1 #!/usr/bin/perl -w
2 # $Id$
3 use strict;
4 require v5.10.0;
5 our $VERSION = 'v0.1';
7 BEGIN
9 my $PROGRAM_DIR = $0;
10 $PROGRAM_DIR =~ s/[^\/\\]+$//;
11 $PROGRAM_DIR = "./" unless($PROGRAM_DIR);
12 unshift @INC,
13 map "$PROGRAM_DIR$_",qw{modules lib ../modules ..lib};
16 my %OPTS;
17 my @OPTIONS = qw/help|h|? version|ver edit-me manual|man/;
19 if(@ARGV)
21 require Getopt::Long;
22 require MyPlace::Usage;
23 Getopt::Long::GetOptions(\%OPTS,@OPTIONS);
24 MyPlace::Usage::Process(\%OPTS,$VERSION);
27 system("pskill",'urlrule_task');
28 system("pskill",'batchget');
29 system("pskill",'download');
30 system("pskill",'curl');
32 __END__
34 =pod
36 =head1 NAME
38 urlrule_task_kill - PERL script
40 =head1 SYNOPSIS
42 urlrule_task_kill [options] ...
44 =head1 OPTIONS
46 =over 12
48 =item B<--version>
50 Print version infomation.
52 =item B<-h>,B<--help>
54 Print a brief help message and exits.
56 =item B<--manual>,B<--man>
58 View application manual
60 =item B<--edit-me>
62 Invoke 'editor' against the source
64 =back
66 =head1 DESCRIPTION
68 ___DESC___
70 =head1 CHANGELOG
72 2010-08-03 xiaoranzzz <xiaoranzzz@myplace.hell>
74 * file created.
76 =head1 AUTHOR
78 xiaoranzzz <xiaoranzzz@myplace.hell>
80 =cut