{"height":"190","author_url":"https://blog.hatena.ne.jp/perlcodesample/","title":"\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30c1\u30e3\u30c3\u30c8 (Mojolicious::Lite) / Mojolicious\u30b5\u30f3\u30d7\u30eb","width":"100%","categories":[],"provider_name":"Hatena Blog","url":"https://perlcodesample.hatenadiary.jp/entry/20100403/1270894115","author_name":"perlcodesample","description":"Perl \u203a Mojolicious WebSocket\u3092\u4f7f\u3063\u305f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30c1\u30e3\u30c3\u30c8\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002\u8907\u6570\u306e\u753b\u9762\u3092\u958b\u3044\u3066\u3082\u4ed6\u306e\u753b\u9762\u306b\u66f8\u304d\u8fbc\u307f\u304c\u3059\u3050\u306b\u53cd\u6620\u3055\u308c\u307e\u3059\u3002 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 use strict; use warnings; use Mojolicious::Lite; my $clients = {}; websocket '/' => sub { my $self = shift; # Client id my $cid = \"$self\"; # Resist controller $clients->{$cid}{controller} = $self; # Receive messa\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20100403%2F1270894115\" title=\"\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30c1\u30e3\u30c3\u30c8 (Mojolicious::Lite) / Mojolicious\u30b5\u30f3\u30d7\u30eb - Perl\u5165\u9580\u30bc\u30df\" 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":"Perl\u5165\u9580\u30bc\u30df","provider_url":"https://hatena.blog","type":"rich","published":"2010-04-03 19:08:35","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/p/perlcodesample/20100418/20100418234248.png","version":"1.0","blog_url":"https://perlcodesample.hatenadiary.jp/"}