Text this: Perfect Constraints Are Tractable