|
|
ru.perl- RU.PERL ---------------------------------------------------------------------- From : Yury Kopyl 2:5020/400 12 Jul 2004 10:55:40 To : Andrei Protasovitski Subject : Re: XML::LibXML затыкается на parse_fh($fh) -------------------------------------------------------------------------------- Andrei Protasovitski -> "XML::LibXML затыкается на parse_fh($fh)" : AP> Затыкается на строке: AP> my $doc = $parser->parse_fh($fh); Чо значит "затыкается"? ERROR REPORTING XML::LibXML throws exceptions during parseing, validation or XPath processing (and some other occations). These errors can be catched by using eval blocks. The error then will be stored in $@. Alternatively one can use the get_last_error() function of XML::LibXML. It will return the same string that is stored in $@. Using get_last_error() makes it still nessecary to eval the statement, since these function groups will die() on errors. в описании модуля смотрел? Yury Kopyl aka hrg | http://id.totem.ru | "Если ты плюнешь на коллектив - коллектив утрется, но если коллектив плюнет на тебя - ты утонешь" (С)Баралгин --- ifmail v.2.15dev5.3 * Origin: IAC Samara-Internet, Ltd. (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.perl/102772a5ad2fa.html, оценка из 5, голосов 10
|