Template::Plugin::ByDate

Template::Plugin::ByDate is a Perl module that keeps/removes included text based on whether the current date is within range.
Download

Template::Plugin::ByDate Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Darin McBride
  • Publisher web site:
  • http://search.cpan.org/~dmcbride/

Template::Plugin::ByDate Tags


Template::Plugin::ByDate Description

Template::Plugin::ByDate is a Perl module that keeps/removes included text based on whether the current date is within range. Template::Plugin::ByDate is a Perl module that keeps/removes included text based on whether the current date is within range.SYNOPSIS This text only shows up from May 2, 2006 through August 22, 2006. FUNCTIONSinitfilterWe accept one optional argument, the word "not". If specified, it will reverse the meaning of the filter: rather than keeping the text if the current date is between starting and until, ignore it. e.g., This only shows up inside the date range while This only shows up outside the date range The starting and until dates are actually parsed by Date::Parse. If you do not specify a time, the starting time is 00:00:00, while the until time is 23:59:59. This is done by checking the until stamp for a colon - if there is no colon, we add " 23:59:59" to the string before passing it into Date::Parse. If that doesn't work for you, please let me know what string you're using. Requirements: · Perl


Template::Plugin::ByDate Related Software