in reply to variable assignment error

In those lines, you don't have any assignment operators and you're not calling any subroutines that would assign values. Those lines are like me telling "a b c". I just told you three things, but didn't tell you what I wanted you to do with them. That's why Perl isn't too happy about those lines.

I'm assuming that since your lines are 'variable variable string' and that those variables hold strings, that you're wanting to do some concatenation of the strings. If so, I think you would want to do something like this:

$gmetric = $gmetric_conf."--name=VVname --value=$pVVname --type=uint3 +2 --units=name";

or

$gmetric .= $gmetric_conf."--name=VVname --value=$pVVname --type=uint +32 --units=name";

If you can explain what you're trying to assign to what variables, perhaps someone can help you figure out the correct syntax.