The parent is perl, which can't execute batch files, so a cmd is indeed launched here.
I wasn't so much correcting you as explaining that the behaviour is different than explained when the batch file is run from the prompt.
In reply to Re^4: Issue with env variables set through dos batch
by ikegami
in thread Issue with env variables set through dos batch
by akrrs7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |