叶文彬 > Calendar-Any > cal.pl

Download:
Calendar-Any-0.5.tar.gz

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

cal.pl - Print calendar of multiple type

VERSION ^

version 0.5

SYNOPSIS ^

cal.pl [-l locale -w weekstart [-c|-g|-j|-t calendar_type] month year]

    Options:
       -l, --locale locale
           The locale of system. Only for Non english calendar.

       -w, --weekstart start
           The week start day for the output. Default is 0, means the
           first day of the week is Sunday

       -c, --china
           Output chinese calendar

       -g, --gregorian
           Output gregorian calendar

       -j, --julian
           Output Julian calendar

       -t, --type calendar_type
           Specific a type of calendar.
           Available type: china, gregorian, julian

       month, year
           The month and year of the calendar

Example ^

    * Output current month gregorian calendar

       cal.pl

    * Output chinese calendar of February in current year
     
       cal.pl -c 2

    * Output the julian calendar in 1752 September. You can see the
      difference from cal(1)

       cal.pl -j 9 1752

    * Output chinese calendar in gbk language environment

       cal.pl -c -l gbk

Configuration ^

Add your default command parameter to the %Config in this file.

AUTHOR ^

Ye Wenbin <wenbinye@gmail.com>

SEE ALSO ^

Calendar, Calendar::Calendar, Calendar::Gregorian, Calendar::Julian, Calendar::China

syntax highlighting: