in reply to Re^4: Is it possible to determine last executed command line?
in thread Is it possible to determine last executed command line?

If you care about precision as opposed to readability, the following might be more appropriate.
sub my_system { system( @_ ); retcode_full_text( join ' ', map quotemeta, @_ ); }

At least for non-Windows systems.