{"version":"1.0","author_name":"ktat","categories":["Perl"],"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fktat.hatenadiary.jp%2Fentry%2F20111215%2F1323890846\" title=\"Text::Parts 0.07 \u3092\u30ea\u30ea\u30fc\u30b9 - Practice of Programming\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Text::Parts 0.07 \u3092\u30ea\u30ea\u30fc\u30b9","provider_name":"Hatena Blog","blog_url":"https://ktat.hatenadiary.jp/","provider_url":"https://hatena.blog","height":"190","url":"https://ktat.hatenadiary.jp/entry/20111215/1323890846","author_url":"https://blog.hatena.ne.jp/ktat/","blog_title":"Practice of Programming","description":"Text::Parts 0.07 0.06\u3082\u4e0a\u3052\u305f\u306e\u3067\u3059\u304c\u3001\u5fae\u5999\u306a\u3068\u3053\u308d\u304c\u3042\u3063\u3066\u3001\u3059\u3050\u306b0.07\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u3066\u3057\u307e\u3063\u305f\u3002\u5909\u308f\u3063\u305f\u3068\u3053\u308d\u3002Text::Parts\u306bwrite_files\u30e1\u30bd\u30c3\u30c9\u8ffd\u52a0\u3002 $s->write_files('file%d.csv', num => 4); \u307f\u305f\u3044\u306a\u611f\u3058\u3002 # 0.06\u3067\u8ffd\u52a0\u3057\u305f\u3051\u3069\u30010.07\u3067\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u5909\u3048\u3066\u3057\u307e\u3044\u307e\u3057\u305fText::Parts::Part\u306bwrite_file\u30e1\u30bd\u30c3\u30c9\u8ffd\u52a0\u3002 foreach my $part ($s->split(num => 4)) { $part->write_file(\"filename\" . $i++ . \u2026","published":"2011-12-15 04:27:26","image_url":null,"type":"rich"}