updated git and svn scripts
[xrzperl.git] / convert-video
blobda5d1f690b55682222dcf73f813a51387a2c11ee
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 MyPlace::Usage;
22 MyPlace::Usage::PrintHelp();
23 exit 0;
29 __END__
31 =pod
33 =head1 NAME
35 convert-video - PERL script
37 =head1 SYNOPSIS
39 convert-video [options] ...
41 =head1 OPTIONS
43 =over 12
45 =item B<--version>
47 Print version infomation.
49 =item B<-h>,B<--help>
51 Print a brief help message and exits.
53 =item B<--manual>,B<--man>
55 View application manual
57 =item B<--edit-me>
59 Invoke 'editor' against the source
61 =back
63 =head1 DESCRIPTION
65 ___DESC___
67 =head1 CHANGELOG
69 2010-09-19 xiaoranzzz <xiaoranzzz@myplace.hell>
71 * file created.
73 =head1 AUTHOR
75 xiaoranzzz <xiaoranzzz@myplace.hell>
77 =cut
79 # vim:filetype=perl