{"height":"190","url":"https://holidays-l.hatenadiary.org/entry/20090601/p1","categories":["Perl"],"author_url":"https://blog.hatena.ne.jp/holidays-l/","description":"\u8a00\u8a9e\u7684\u306b\u4e91\u3005\u3068\u3044\u3046\u8a71\u3067\u306f\u306a\u304f\u3066\u3001\u8907\u6570\u4eba\u3067\u958b\u767a\u3059\u308b\u3068\u304d\u306b\u30cf\u30de\u308a\u305d\u3046\u306a\u306e\u3067\uff08\u3068\u3044\u3046\u304b\u30cf\u30de\u3063\u305f\u306e\u3067\uff09 \u52d5\u7684\u306b\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u308b\u306b\u306f # goto\u3059\u308b\u3088\u7248 BEGIN { use UNIVERSAL::require (); if ( Foo->require ) { my $orig = Foo->can('func'); no warnings qw(redefine); *Foo::func = sub { my ($foo) = @_; # shift\u3057\u306a\u3044\u65b9\u304c\u697d\u306a\u3053\u3068\u304c\u591a\u3044 # pre-process... goto &{$orig}; # post-process\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u8a18\u4e8b\u306e\u6700\u5f8c\u3067 }\u2026","title":"\u52d5\u7684\u30d1\u30c3\u30c1\u306f\u4e00\u3064\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u307e\u3068\u3081\u3066use\u3057\u305f\u65b9\u304c\u826f\u3044\u304b\u3082","provider_url":"https://hatena.blog","blog_url":"https://holidays-l.hatenadiary.org/","type":"rich","provider_name":"Hatena Blog","author_name":"holidays-l","image_url":null,"version":"1.0","width":"100%","published":"2009-06-01 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fholidays-l.hatenadiary.org%2Fentry%2F20090601%2Fp1\" title=\"\u52d5\u7684\u30d1\u30c3\u30c1\u306f\u4e00\u3064\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u307e\u3068\u3081\u3066use\u3057\u305f\u65b9\u304c\u826f\u3044\u304b\u3082 - \u30d2\u30eb\u30ba\u3067\u50cd\u304f@robario\u306e\u6280\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u30d2\u30eb\u30ba\u3067\u50cd\u304f@robario\u306e\u6280\u30ed\u30b0"}