in reply to Re^4: Using . in variable name
in thread Using . in variable name
You can call the variable anything. Let's say $dog or $cat in which case:
my $dog = 'http://www.perl.org/'; my $cat = 'https://metacpan.org/'; system("ant -file japi/test.xml -Dapp1.url=$dog -Dapp2.url=$cat");
Which is equivalent then to this command you would type at your prompt:
ant -file japi/test.xml -Dapp1.url=http://www.perl.org/ -Dapp2.url=htt +ps://metacpan.org/
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Using . in variable name
by Anonymous Monk on Apr 17, 2015 at 09:39 UTC |