I don't quite understand what's wrong with just
my $TheValue = $?FILE.subst(/.* "/"/, "" :g);near the top of your module?
I don't quite understand what's wrong with just
my $TheValue = $?FILE.subst(/.* "/"/, "" :g);near the top of your module?