{"version":"1.0","author_name":"gfx","provider_url":"https://hatena.blog","height":"190","type":"rich","description":"Perl\u306eopen()\u3092\u30de\u30b9\u30bf\u30fc\u3059\u308b\u306e\u306f\u5927\u5909\u3060\u3002perldoc perlfunc\u306eopen\u306e\u9805\u306f\u3059\u3055\u307e\u3058\u3044\u9577\u3055\u3060\u3057\uff0cperldoc perlopentut\u3068\u3044\u3046open\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3082\uff0c\u5358\u306a\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306a\u306b\u3082\u306e\u3059\u3054\u304f\u9577\u3044\u3002\u3057\u304b\u3082PerlIO\u3068\u3044\u3046\u6a5f\u80fd\u306e\u304a\u304b\u3052\u3067open()\u305d\u306e\u3082\u306e\u3082\u81ea\u7531\u306b\u62e1\u5f35\u3067\u304d\u308b\u3002\u3055\u3089\u306b\uff0c5.6.0\u4ee5\u964d\u306e\u62e1\u5f35*1\u304c\u7169\u96d1\u3055\u306b\u62cd\u8eca\u3092\u304b\u3051\u3066\u3044\u308b\u3002 \u305d\u3053\u3067\uff0c\u3044\u304f\u3064\u304b\u306e\u6b20\u70b9\u3092\u514b\u670d\u3059\u308b\u3079\u304f\uff0copen()\u306e\u30e9\u30c3\u30d1\u30fc\u3092\u8003\u3048\u3066\u307f\u305f*2\u3002 use Carp qw(croak); sub my_open{ if(@_ < 2){ croak('Usage: my_open($mode, @a\u2026","image_url":null,"blog_title":"Islands in the byte stream (legacy)","provider_name":"Hatena Blog","width":"100%","blog_url":"https://gfx.hatenadiary.org/","categories":["Perl","PerlIO"],"title":"open()\u306e\u6539\u826f","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20080812%2F1218504032\" title=\"open()\u306e\u6539\u826f - Islands in the byte stream (legacy)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://gfx.hatenadiary.org/entry/20080812/1218504032","author_url":"https://blog.hatena.ne.jp/gfx/","published":"2008-08-12 10:20:32"}