Skip to content

Instantly share code, notes, and snippets.

View ppant's full-sized avatar
🎯
Focusing

Pradeep K. Pant ppant

🎯
Focusing
View GitHub Profile
@ppant
ppant / recurDemo.pl
Last active June 24, 2017 11:54
demo calculating recurrence dates using Perl Date::Manip module
# Script to calculate recurrence dates based on given criteria using Perl Date::Manip module.
# All the input dates in this are given hard coded. These shall be passed through external program etc.
#!/usr/local/bin/perl -w
use strict;
use Date::Manip;
use Data::Dumper;
# calculate the dates for yearly patterns.
&yearly();
&monthly();
&weekly();