CPAN::HandleConfig

CPAN::HandleConfig

NAME

CPAN::HandleConfig - internal configuration handling for CPAN.pm

CLASS->safe_quote ITEM

Quotes an item to become safe against spaces in shell interpolation. An item is enclosed in double quotes if:

- the item contains spaces in the middle
- the item does not start with a quote

This happens to avoid shell interpolation problems when whitespace is present in directory names.

This method uses commands_quote to determine the correct quote. If commands_quote登录查看完整内容