in reply to Re^4: Using . in variable name
in thread Using . in variable name

Maybe you don't want to use a variable here but a hash with the appropriate keys?

Or just change ${app1.url} to $app1_url if you feel uncomfortable with hashes?