make2build switches

As make2build aims to be a proper script it, of course, provides both, the -h (help screen) and -V (version) switches.

Example 12. 

% make2build -h
% make2build -V

In case you end up with a mangled Build.PL written, you could examine the parsing process by launching make2build with the -d switch which implies the pseudo-interactive debugging mode.

Example 13. 

% make2build -d

You may execute the Makefile.PL in first place, but such usage is deprecated since Module::Build::Convert "downgrades" automatically when needed.

Example 14. 

% make2build -e (deprecated)

Should you not like the indentation length or judge it to be to small, you can increase it via the -l switch followed by an integer.

Example 15. 

% make2build -l length

If you don't agree with the sorting order predefined in Module::Build::Convert, you may enforce the native sorting order, which strives to arrange standard arguments with those seen available in the Makefile.PL.

Example 16. 

% make2build -n

The argument conversion table, default arguments to be added, the sorting order of the arguments, the begin and end code aren't absolute either and may be changed by invoking make2build with the -rc switch standing for Resource Config file creation; the file will be created in the home directory of the current user by the defaulted filename .make2buildrc.

Example 17. 

% make2build -rc

While make2build is quiet by default, it may be switched to output some verbosity. There are two verbosity level; to enforce verbosity level 1, launch make2build with -v, to enforce verbosity level 2, simply launch make2build with -vv.

Whenever -v was chosen, Makefile.PL arguments that were unknown to the conversion table or are being skipped are being output. Whenever -vv was chosen, it will accumulate -v output & the entire Build.PL written.

Example 18. 

% make2build -v
% make2build -vv