On 26 February 2015 at 17:14, Maxim Vuets <[email protected]> wrote:
> 2015-02-26 16:44 GMT+01:00 Nick Knutov <[email protected]>:
>> Какие еще есть хорошие варианты быстро прочитать текстовые файлы
>> (которые могут быть с ютф или без) ?
>
> https://metacpan.org/pod/File::Slurper
>
> "This module tries to make it as easy as possible to read and write
> files correctly and fast. The most correct way of doing this is not
> always obvious (e.g. #83126
> [https://rt.cpan.org/Public/Bug/Display.html?id=83126]), and just as
> often the most obvious correct way is not the fastest correct way.
> This module hides away all such complications behind an easy intuitive
> interface."

Вспомнил откуда это растёт: http://perlweekly.com/archive/170.html
"Leon Timmermans released File::Slurper, previously known as
File::Slurp::Sane. It's intended as a replacement for File::Slurp,
which has a number of problems."
-- 
Moscow.pm mailing list
[email protected] | http://moscow.pm.org

Ответить