in reply to Re: Unable to use Module::Starter::AddModule under windows
in thread Unable to use Module::Starter::AddModule under windows

Just a minor correction to your good and portable solution:

cmd.exe can handle commands starting with ".", but dot as the current directory needs to be followed by a backslash and the filename to run:

.\cpanm

The above launches cpanm.cmd (if it exists) from the current directory.

Replies are listed 'Best First'.
Re^3: Unable to use Module::Starter::AddModule under windows
by syphilis (Archbishop) on Aug 01, 2018 at 10:26 UTC
    but dot as the current directory needs to be followed by a backslash

    Yes, you're right - I should have double checked.
    Thanks for correcting my incorrection.

    Cheers,
    Rob