{"published":"2013-01-14 11:32:26","url":"https://soh335.hatenablog.com/entry/2013/01/14/113226","blog_url":"https://soh335.hatenablog.com/","author_name":"soh335","width":"100%","blog_title":"soh335 memo","provider_url":"https://hatena.blog","categories":[],"version":"1.0","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsoh335.hatenablog.com%2Fentry%2F2013%2F01%2F14%2F113226\" title=\"DBIx::TransactionManager::EndHook - soh335 memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","height":"190","title":"DBIx::TransactionManager::EndHook","description":"DBIx::TransactionManager \u4f7f\u3063\u3066\u30cd\u30b9\u30c8\u3057\u305f\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u767a\u884c\u3057\u3066\u3001\u5168\u3066\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u3046\u307e\u304f\u884c\u3063\u305f\u6642\u3060\u3051\u307b\u3052\u307b\u3052\u3057\u305f\u3044\u3002 \u3060\u3051\u3069\u3001\u305d\u308c\u3092\u6700\u5f8c\u306b\u307e\u3068\u3081\u3066\u3084\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3060\u3068\u60c5\u5831\u3092\u6301\u3061\u56de\u3055\u306a\u3044\u3068\u3044\u3051\u306a\u304b\u3063\u305f\u308a\u3057\u3066\u3081\u3093\u3069\u304f\u3055\u304f\u3001\u9069\u5b9c\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u5358\u4f4d\u3067\u3084\u308a\u305f\u3044\u611f\u3058\u3060\u3063\u305f\u306e\u3067DBIx::TransactionManager::EndHook \u3068\u3044\u3046\u306e\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002 my $txm1 = $tm->txn_scope; $dbh->do('...'); $tm->add_end_hook(sub { # do something }); my $txm2 = $tm->t\u2026","author_url":"https://blog.hatena.ne.jp/soh335/","provider_name":"Hatena Blog"}