On Fri, Jul 22 2022, Matheus Tavares wrote: > +my @quoted_args = map "'$_'", @ARGV; > +exec "test-tool rot13-filter @quoted_args"; > +die "failed to exec test-tool"; You end up throwing this away, but this whole escaping business is just bad use of the API, you can pass a list to "exec" have it escape arguments. See "perldoc -f exec".