Maybe I didn't understand the problem as you stated it.
Can you maybe take a step back and tell us the problem you're trying to solve? If you're calling another script, that script is likely invoked via system or exec. Maybe you don't want to use a variable name but a variable value?
You can append a value to a string by using dot itself, or by using double quotes:
print "$app.svr\n"; print $app . ".svr\n";
In reply to Re^3: Using . in variable name
by Corion
in thread Using . in variable name
by manpreet333
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |