sub getime() {
to
sub getime {
to lose that particular error. Also note that the month returned is 0..11 -- so you might want to add one to it in getime.
Edit: Forgot to mention: Be sure you know the difference between calling a sub via &getime() and getime(). You might want the latter form. See perlsub for more info.
In reply to Re: Death of time_t Timer
by Nkuvu
in thread Death of time_t Timer
by OverlordQ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |