http://www.perlmonks.org?node_id=931329


in reply to Re^3: Issue with env variables set through dos batch
in thread Issue with env variables set through dos batch

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.