There is either a bug in the documentation for that module, or in the module itself, depending on how you look at it. One thing is sure. There is no Time::Tiny->year() function. There is also no ->month() function, nor a day() function. Seems like fairly significant omissions from the code given the documentation. ;)
Personally I would move on and use a different module; this one apparently isn't all that well tested/refined. It appears to be seriously flawed.
Dave
In reply to Re: problem in getting tody's date using Time::Tiny module
by davido
in thread problem in getting tody's date using Time::Tiny module
by greatshots
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |