- RU.PERL ----------------------------------------------------------- RU.PERL - Msg : #4044 [671] От : Yury Kopyl 2:5020/400 12 июля 04, 10:55 Кому : Andrei Protasovitski 14 июля 04, 22:51 Тема : Re: XML::LibXML затыкается на parse_fh($fh) ------------------------------------------------------------------------------- From: "Yury Kopyl"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)