|
|
ru.perl- RU.PERL ---------------------------------------------------------------------- From : Artem Chuprina 2:5020/400 03 Jul 2003 20:44:36 To : ‚« ¤Ё¬Ёp ѓpҐЎҐў Subject : Re: Еще два вопроса -------------------------------------------------------------------------------- Хмутро. ВГ>>> тэг пеpенесен как </HTM=\nL> его тоже не удаляет... YK>> MIME::Tools, а потом как обычно :)) ВГ> угу, посмотpел, MIME::Decoder, только там пpикол, что pаскодиpуемое ВГ> сообщение должно быть stream, и выводит оно его также в stream, это чего ж, ВГ> мне делать вpеменные файлы?:) Или какнить можно читать из массива как из ВГ> потока? Когда ж ты научишься документацию читать дальше первого экрана? NOTES Input/Output handles As of MIME-tools 2.0, this class has to play nice with the new MIME::Body class... which means that input and output routines cannot just assume that they are dealing with filehandles. Therefore, all that MIME::Decoder and its subclasses require (and, thus, all that they can assume) is that INSTREAMs and OUTSTREAMs are objects which respond to a subset of the messages defined in the IO::Handle inter- face; minimally: print getline read(BUF,NBYTES) For backwards compatibilty, if you supply a scalar file- handle name (like ""STDOUT"") or an unblessed glob refer- ence (like "\*STDOUT") where an INSTREAM or OUTSTREAM is expected, this package will automatically wrap it in an object that fits these criteria, via IO::Wrap. -- Artem Chuprina RFC2822: <ran@ran.pp.ru>, FIDO: 2:5020/122.256, ICQ: 13038757 --- ifmail v.2.15dev5 * Origin: Leninsky 45 home network (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.perl/114776bb80459.html, оценка из 5, голосов 10
|