in reply to Imagination greater than reality?

I've used stuff like this

my $state = 'TX'; my $mod="State::$state::formulas"; eval 'use '.$mod.';' ; if ($@) {die '***ERROR***',$@}
But see Re^2: Using Google APIs for Lattitude for more comments about $@

Replies are listed 'Best First'.
Re^2: Imagination greater than reality?
by writch (Sexton) on Jul 11, 2017 at 15:06 UTC
    I want to thank everyone for the thoughtful and creative input. I ended up using this method. It's funny, but as I was typing in the original post last night I was wondering if joining the string in that fashion would work.