Problem
You may encounter this error while executing asmcmd if you have multiple Oracle_home.Perl lib version (v5.6.1) doesn't match executable version (v5..8.3) dt d:\oracle.......
This is due to the perl library is using the wrong ORACLE_HOME
Solution
set
PERL5LIB=D:\oracle\1020\asm\perl\5.8.3\lib\MSWin32-X64-multi-thread