when I executed the above code, I got the following errormy $today = Time::Tiny->now; print "Year : " . $today->year . "\n"; print "Month: " . $today->month . "\n"; print "Day : " . $today->day . "\n";
blinking, why it throws that error ?Can't locate object method "year" via package "Time::Tiny" at time_tin +y.pl line 10.
In reply to problem in getting tody's date using Time::Tiny module by greatshots
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |