in reply to Using . in variable name

Is this a COM or Windows automation related issue? If so, the Perl variable name is completely unrelated to a variable name that may be used on the other side of the connection.

I can't think of any common language that I've used that uses "." in an identifier. There are plenty of languages that use "." to reference a member of a structure or object. You really need to tell us more about what you need to achieve because right now you don't make sense.

Perl is the programming world's equivalent of English

Replies are listed 'Best First'.
Re^2: Using . in variable name
by manpreet333 (Initiate) on Apr 17, 2015 at 09:28 UTC
    The variable is being passed to an ant script which invokes JUnit test cases. The Java code is reading the properties and the property name is defined as app1.url and as such in the Java code and we have been asked not to change that.
      so why do you think your perl variabe has to be named app1.url?

      "properties" does not describe ipc such as system

      app1.url is probably just a string you give as an argument to the java program

      system $java, $jar, @otherargs, 'app1.url=yadayada';
        Good point!! Going to try that!