I thought for sure you were on to something. I installed latest version of perl with perlbrew and migrated all the modules over and I switched to latest version. Still getting this error, however, with "cpanm Config::Augeas":
Building Config-Augeas
cc -I/Users/me/perl5/perlbrew/perls/perl-5.32.1/lib/5.32.1/darwin-2lev
+el/CORE -DVERSION="1.000" -DXS_VERSION="1.000" -I/usr/local/Cellar/au
+geas/1.12.0/include -Wall -Wformat -Werror=format-security -c -fno-co
+mmon -DPERL_DARWIN -mmacosx-version-min=11.2 -fno-strict-aliasing -pi
+pe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTE
+NV -O3 -o lib/Config/Augeas.o lib/Config/Augeas.c
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Config/Augeas/Augea
+s.bs')
cc -mmacosx-version-min=11.2 -bundle -undefined dynamic_lookup -L/usr/
+local/lib -fstack-protector-strong -o blib/arch/auto/Config/Augeas/Au
+geas.bundle lib/Config/Augeas.o -L/usr/local/Cellar/augeas/1.12.0/lib
+ -laugeas
Can't call method "get" on an undefined value at /Users/stevedondley/.
+cpanm/work/1615424668.56822/Config-Augeas-1.000/blib/lib/Config/Augea
+s.pm line 227.
# Looks like your test exited with 255 just after 2.