Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.324.034 Times

Template::Plugin::ByDate 0.03

  Date Added: June 01, 2010  |  Visits: 901

Template::Plugin::ByDate

Report Broken Link
Printer Friendly Version


Product Homepage
Download (94 downloads)



Template::Plugin::ByDate is a Perl module that keeps/removes included text based on whether the current date is within range. SYNOPSIS [% USE ByDate %] [% FILTER ByDate starting = 2006-05-02 until = 2006-08-22 %] This text only shows up from May 2, 2006 through August 22, 2006. [% END %] FUNCTIONS init filter We 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., [% FILTER ByDate starting = 2006-05-02 until = 2006-08-22 %] This only shows up inside the date range [% END %] while [% FILTER ByDate not starting = 2006-05-02 until = 2006-08-22 %] This only shows up outside the date range [% END %] 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 doesnt work for you, please let me know what string youre using..

Requirements: No special requirements
Platforms: Linux
Keyword: Based On Bydate Current Current Date Date End Filter Filter Bydate Perl Perl Module Starting Templatepluginbydate Text Text Based
Users rating: 0/10

License: Freeware Size: 4.1 KB
USER REVIEWS
More Reviews or Write Review


TEMPLATE::PLUGIN::BYDATE RELATED
Modules  -  Renat current date 1.0
The current date modul for Joomla 1.5 version- Select 63x background- Select in position 1- Padding(px)- Position 1 height(px)- Position 1 fontsize(px)- Position 1 color(#)- Select in position 2- Position 2 height(px)- Position 2 fontsize(px)-...
10 KB  
Libraries  -  XML::Filter::Mode 0.02
XML::Filter::Mode Perl module can filter out all chunks not in the current mode. SYNOPSIS use XML::Filter::Mode; use strict; my $filter = XML::Filter::Mode->new( Modes => "a,b,c" ); my $filter = XML::Filter::Mode->new( Modes => [qw( a b c...
4.1 KB  
Alarms & Reminders  -  Zune Clock 1.0
Zune Clock - put on your desktop a stylish free analog/digital clock with chimes and the current date.
606.11 KB  
Web Browser Tools  -  WorldClocks 0.8.8-2
WorldClocks is an extension which displays the current date and time of the worlds most important cities. Displays the current date and time of the worlds most important cities To change the default city displayed on the browser status bar,...
18.43 KB  
Libraries  -  Date::Formatter 0.09
Date::Formatter Perl module is a simple Date and Time formatting object. SYNOPSIS use Date::Formatter; # create a Date::Formatter object with the current date and time. my $date = Date::Formatter->now(); # create a formatter routine for...
12.29 KB  
Libraries  -  Test::Reporter::Date::Format 1.27
Test::Reporter::Date::Format Perl module contains date formating subroutines. SYNOPSIS use Test::Reporter::Date::Format; @lt = localtime(time); print time2str($template, time); print strftime($template, @lt); print time2str($template,...
23.55 KB  
Libraries  -  Date::Pcalc 1.2
Date-Pcalc is a Perl module and is a direct translation of Steffen Beyers excellent Date::Calc module to use Perl only instead of a combination of Perl and C. This package consists of a Perl module for all kinds of date calculations based on the...
61.44 KB  
Libraries  -  Geo::Track::Log 0.02
Geo::Track::Log is a Perl module that represent track logs and find a location based on a track log and a date. SYNOPSIS use Geo::Track::Log; my $log = new Geo::Track::Log; # add a point to a track log. $log->addPoint( { timestamp =>...
17.41 KB  
Libraries  -  PDL::Internals 2.4.3
PDL::Internals is a Perl module that contains a description of some aspects of the current internals. Intro This document explains various aspects of the current implementation of PDL. If you just want to use PDL for something, you definitely...
2.1 MB  
Libraries  -  DateTime::Cron::Simple 0.2
DateTime::Cron::Simple is a Perl module that can parse a cron entry and check against current time. SYNOPSIS use DateTime::Cron::Simple; $c = DateTime::Cron::Simple->new($cron); $boolean = $c->validate_time; $c->new_cron($cron); This...
3.07 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB