Text this: Leveraging numerical relativity formulations for perturbative analysis: applications to quasinormal modes in general relativity