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/
In reply to Re^5: Using . in variable name
by hippo
in thread Using . in variable name
by manpreet333
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |