CPAN::HandleConfig - phpMan

Command: man perldoc info search(apropos)  


CPAN::HandleConfig(3pm)          Perl Programmers Reference Guide         CPAN::HandleConfig(3pm)



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" is a
       space, no quoting will take place.

       if it starts and ends with the same quote character: leave it as it is

       if it contains no whitespace: leave it as it is

       if it contains whitespace, then

       if it contains quotes: better leave it as it is

       else: quote it with the correct quote type for the box we're on

LICENSE
       This program is free software; you can redistribute it and/or modify it under the same
       terms as Perl itself.



perl v5.16.3                                2021-02-02                    CPAN::HandleConfig(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-04-19 12:53 @18.191.234.191 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!