2 # Delete substring from zope.conf between two string
15 $plik_we="/etc/zope/main/zope.conf";
16 $plik_tmp="./zope_pld_tmp";
17 $first_string="%import timerserver";
18 $sec_string="</timer-server>";
21 open (PLIK_WEJ,"$plik_we") || die "Error - File not found: $plik_we\n";
22 open (PLIK_WYJ,">$plik_tmp") || die "Error - File not found: $plik_tmp\n";
52 move($plik_tmp,$plik_we);
57 print "\nNot found $first_string or $sec_string in zope.conf! - zope.conf not changed!\n";