This software is a parser designed to read and interpret ".holiday" files. It enables users to easily access and process the data in these files, making it a valuable tool for anyone working with holiday-related information.
Using this module, users can retrieve holiday data in the form of a hash that can be read and utilized within their program. To get started, simply include the following line of code:
use Date::HolidayParser;
From there, users can create a new instance of Date::HolidayParser and specify the location of their .holiday file using the following command:
my $Holidays = Date::HolidayParser->new("$ENV{HOME}/.holiday");
With the $Holidays object created, users can retrieve specific holiday data by passing a year argument to the get() function, like so:
my $Holidays_2006 = $Holidays->get(2006);
Overall, Date::HolidayParser is a helpful tool for developers looking to incorporate holiday data into their programs. It is straightforward to use and provides users with access to a wide variety of holiday information.
Version 0.3: N/A