time typically outputs its values to STDERR (unless your version supports the -o option). To capture STDERR in a Perl program, something like Capture::Tiny or IPC::Run3 makes that easy. (Or you can use shell redirects.)
In reply to Re^3: timing a command execution with perl
by Anonymous Monk
in thread timing a command execution with perl
by savio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |