Perl 5 version 20.0 documentation
Returns a four-element list giving the user and system times in seconds for this process and any exited children of this process.
- ($user,$system,$cuser,$csystem) = times;
In scalar context,
Children's times are only included for terminated children.
Portability issues: times in perlport.