{"provider_url":"https://hatena.blog","type":"rich","url":"https://ktat.hatenadiary.jp/entry/20081205/1228454451","blog_url":"https://ktat.hatenadiary.jp/","width":"100%","author_name":"ktat","blog_title":"Practice of Programming","version":"1.0","published":"2008-12-05 14:20:51","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fktat.hatenadiary.jp%2Fentry%2F20081205%2F1228454451\" title=\"local $@ \u3068\u540c\u4e00\u30b9\u30b3\u30fc\u30d7\u3067\u4f8b\u5916\u3092\u5410\u3044\u3066\u306f\u3044\u3051\u306a\u3044 - 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>","author_url":"https://blog.hatena.ne.jp/ktat/","categories":["Perl"],"title":"local $@ \u3068\u540c\u4e00\u30b9\u30b3\u30fc\u30d7\u3067\u4f8b\u5916\u3092\u5410\u3044\u3066\u306f\u3044\u3051\u306a\u3044","description":"id:lestrrat\u3055\u3093\u306e http://perl-users.jp/articles/advent-calendar/2008/03.html \u3092\u8aad\u3093\u3067\u3002 \u305d\u3046\u3044\u3084\u3001\u3064\u3051\u305f\u308a\u3001\u3064\u3051\u306a\u304b\u3063\u305f\u308a\u3057\u3066\u305f...\u7279\u306b\u30dd\u30ea\u30b7\u30fc\u3082\u306a\u304f\u3002 \u5168\u90e8\u306b\u3064\u3051\u308b\u5fc5\u8981\u306f\u306a\u3044\u3068\u306e\u3053\u3068\u3067\u3059\u304c\u3001\u3064\u3051\u3066\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u305f\u3089\u306f\u307e\u3063\u305f\u3002 \u66f8\u3044\u305f\u30b3\u30fc\u30c9\u3092\u5358\u7d14\u5316\u3059\u308b\u3068\u3001 eval { xxx(); }; print $@ =~/Undefined Subroutine/ ? \"ok\\n\" : \"not ok\\n# $@\\n\"; sub xxx { local $@; eval { use Ktat::DummyModule; }; if\u2026","provider_name":"Hatena Blog","image_url":null}