foreach (split(m!!si, $template)) { next unless (m!(.*)!si); my ($file) = ($1); # print "\t" x 3, '
  • '; if (-e $file) { # print qq!$file - $str[152]!; } elsif ($file =~ m!\%!) { # print "$file - $str[151]"; } else { print $file; } # print "
  • \n"; } print "\t\t\n"; last Err; } return $err; } #### foreach (split(m!
    !si, $text)) { next unless (m!(.*)!si); my ($file, $text) = ($1, $2); # strip leading and trailing vertical whitespace $text =~ s!^(\015|\012)*!!s; $text =~ s!(\015|\012)*$!!s; my $is_cgi = 0; ($temp_err_msg, $is_cgi) = &CheckName( $file,1 ); if ($temp_err_msg) { push(@temp_errors, $temp_err_msg); next; }