run perl with env