in reply to Death of time_t Timer
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Death of time_t Timer
by OverlordQ (Hermit) on Jun 18, 2003 at 22:34 UTC | |
by Nkuvu (Priest) on Jun 18, 2003 at 22:46 UTC |