in reply to In my perl code i am getting some other output instead of Other
The error message appears if you neither provide an argument nor a value for the environment variable LOGS_EV. Which value would you like to store to $destdir in that case? Do you have a default value hidden somewhere? If so, consider:
$destdir = $ARGV[0] // $ENV{'LOGS_EV'} // $some_value;
In Section
Seekers of Perl Wisdom