$ ./twig_replace_test.pl
TWEAK: D1 (Found 0 other parsed tweaks with the same name)
TWEAK: D2 (Found 0 other parsed tweaks with the same name)
TWEAK: D3 (Found 0 other parsed tweaks with the same name)
TWEAK: This should overwrite the old T2. (Found 1 other parsed tweaks with the same name)
Replacing
D2
with
This should overwrite the old T2.
TWIG: