This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



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



       "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.10.0                                     2009-06-24                          CPAN::HandleConfig(3pm)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the Perl project. (See perlbug(1) for submission instructions.)
Bug reports
Report bugs in the functionality of the described tool or API to Apple through Bug Reporter and to the Perl project using perlbug(1).
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.