Filewatcher File Search File Search
Catalog
Content Search
» » » » » » perl-Date-Tie-0.17-1.2.el5.rf.noarch.rpm » Content »
pkg://perl-Date-Tie-0.17-1.2.el5.rf.noarch.rpm:16780/usr/share/doc/perl-Date-Tie-0.17/  info  HEADER  downloads

perl-Date-Tie - Perlish interface to dates…  more info»

README

NAME
    Date::Tie - a perlish interface to dates

SYNOPSIS
	use Date::Tie;

	tie %date, 'Date::Tie';
	%date = { year => 2001, month => 11, day => '09' };
	$date{year}++;
	$date{month} += 12;    # 2003-11-09

	# you can also do this
	$date = Date::Tie->new( year => 2001, month => 11, day => '09' );
	$date->{year}++;
	$date->{month} += 12;  # 2003-11-09

DESCRIPTION

Date::Tie is an attempt to simplify date operations syntax.

Date::Tie manages a hash containing the keys: 
epoch, utc_epoch, year, month, day, hour, minute, second,
yearday, week, weekday, weekyear, tz, tzhour, tzminute.

Whenever a new value is stored in a key, it will change 
the other keys following the common (ISO) date rules. 

For example: 
	 print $a{hour}, ":", $a{minute};     #  00 59
	 $a{minute}++;
	 print $a{hour}, ":", $a{minute};     #  01 00

AUTHOR
    Fl�vio Soibelmann Glock (fglock@pucrs.br)
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com