[CentOS] perl one-liner issue

Joseph L. Casale

jcasale at activenetwerx.com
Wed Mar 16 19:56:41 UTC 2011


I am trying to deduce the one liner for an rpm I am packaging to edit a php
configuration file from within my spec. The line I am editing looks like:

$conf['nagios_base'] = "/nagios/cgi-bin";

What are the escape requirements Perl needs from within the shell to
search for this?

As I have seen, the syntax is a mess, any pointers would be appreciated!
thanks,
jlc



More information about the CentOS mailing list