Xnom

Moderator | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору animago 1) Код: for ('forum','topic','membername','password','action','postno','inshowsignature','notify','inshowemoticons','previewfirst','intopictitle','intopicdescription' ,'inpost','instickytopic','poll1','poll2','poll3','poll4','poll5','poll6','poll7','poll8','poll9','poll10','vote','topictitle','forumname') { | то, что выделено, должно писаться слитно, у тебя нет. 2) читаем первый пост: Цитата: Заменить на: Код: my $file = "$ikondir" . "forum$inforum/$intopic.pl"; open (ENT, $file); flock ENT, 1; $in = <ENT>; close (ENT); ($topicid, $topictitle, $topicdescription, $threadstate, $threadposts ,$threadviews, $startedby, $startedpostdate,$lastposter,$lastpostdate,$sticky) = split(/\|/,$in); | | те же не заменил, а вставил новый код сразу после старого. т.е. старый участок кода нужно убрать. |