cpan::handleconfig(3pm) osx man page | unix.com

Man Page: cpan::handleconfig

Operating Environment: osx

Section: 3pm

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.16.2 2012-10-25 CPAN::HandleConfig(3pm)
Related Man Pages
shell-quote(1p) - debian
shell-quote(1) - centos
text::parsewords(3pm) - mojave
perl::critic::policy::valuesandexpressions::prohibitinterpolatio(3) - centos
ppi::token::quote(3pm) - debian
Similar Topics in the Unix Linux Community
AIX Links
Hearing Aid for OSX 10.12.x and greater.
To print diamond asterisk pattern based on inputs
My first PERL incarnation... Audio Oscillograph
Python: Refer a properties file from different location