NAME

cpanmw - the cpanm wrapper

SYNOPSIS

# type "cpanmw" instead of "cpanm"

$ cpanmw Acme::Bleach

$ cpanmw --verbose Plack

$ cpanmw -L Twiggy@0.10

DESCRIPTION

This script is wrapper for cpanm.

Commands and options are completely the same as cpanm. See cpanm for details.

It can use like cpanm, but has some features.

- Display color-coded phrases and keywords

Several phrases and keywords are displayed in different colors.

  • BOLD GREEN for Success

  • BOLD RED for Fail and Error messages

  • BOLD YELLOW for Module-Name and Dist-Name

  • CYAN for Progress Keywords (eg. Fetching..., Building...)

  • YELLOW for Outputs from cpanm (except from external tool)

This feature requires Win32::Console::ANSI on Win32.

- Supports --****-timeout options on Win32

In cpanm, --****-timeout option is ignored on Win32. cpanmw makes it possible by emulates this.

Perl-CORE does not support symlink, so cpanm is skip this process. cpanmw emulates symlink by using Windows' "mklink" command, then make it possible.

This feature requires Windows 6.0(aka. Windows Vista) or later. Otherwise, it is copied from work directory (This is the default behavior of cpanm)

NOTE: If an error "permission denied" occurs...

    Your user account does not have administrator privileges (exactly authority "SeCreateSymbolicLinkPrivilege" is required).

    You can check by typing the following, then check the error message.

    > cd %Temp% && mklink foo bar
- Create ~/.cpanm/latest-build/ as junction point on Win32

cpanmw makes this possible by the mechanism of previous section.

Doesn't create it if not.

This feature requires Windows 5.0(aka. Windows 2000) or later.

AUTHOR

KPEE

LICENSE

Copyright (C) 2014 KPEE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

App::cpanminus, cpanm