I am using this command to perform find and replace
system( "perl -pi -e 's/$arr3[$i]/$arr2[$i]/g' /opt/app/d1ebl1m5/dv02/cingbt02/J2EEServer/config/AMSS/application/properties/CSCEnvVar.properties_try"); the value of $arr3[$i] contains special characters like -e, $ etc. what can I do to ignore all special characters and just treat the expression as normal string
systemcommand to call Perl within Perl is rather inefficient and slow. Especially if this operation is run multiple times, as it seems that it is (looping over@arr3and@arr2). It would most likely be 10 times faster to just open the files normally.