my $dog = 'http://www.perl.org/'; my $cat = 'https://metacpan.org/'; system("ant -file japi/test.xml -Dapp1.url=$dog -Dapp2.url=$cat"); #### ant -file japi/test.xml -Dapp1.url=http://www.perl.org/ -Dapp2.url=https://metacpan.org/