in reply to How to find ant home/specific directory in Linux using perl
G'day sandeepda,
I'm not sure that I've fully understood your question, particularly with respect to what's happening with versions X and Y. My apologies up-front if the following doesn't help.
ANT_HOME is an environment variable; Perl provides access to environment variables via the %ENV hash (see perlvar: General Variables); so the value you want should be $ENV{ANT_HOME}.
-- Ken
|
|---|
| Replies are listed 'Best First'. |
|---|