and it always prints out as 1071679507 seconds&starttime; &stoptime; sub starttime{ my $start = time; sleep 5; } sub stoptime{ my $end = time; my $elapsed = $end - $start; print $elapsed; }
In reply to Re: Re: Current time as variable?
by einerwitzen
in thread Current time as variable?
by einerwitzen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |