Parse::VarName provides routines to parse variable name. WWW: https://metacpan.org/release/Parse-VarName