END { my $elapsed_seconds = time - $^T; # Do something with $elapsed_seconds # e.g., print qq(); }