{"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/hogem/","type":"rich","author_name":"hogem","categories":["perl"],"published":"2009-06-12 23:47:50","height":"190","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogem.hatenablog.com%2Fentry%2F20090612%2F1244818070\" title=\"Net::Telnet - perl\u3067telnet - \u3046\u307e\u3044\u307c\u3046\u3076\u308d\u3050\" 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://hogem.hatenablog.com/entry/20090612/1244818070","description":"\u4eca\u6642telnet\u304b\u3088\u3063\u3066\u3044\u3046\u611f\u3058\u3060\u3051\u3069\u3001\u4e00\u90e8\u306eNW\u6a5f\u5668\u306ftelnet\u3057\u304b\u306a\u304b\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u3002\u3067\u3001\u3084\u3063\u3066\u307f\u305f\u3093\u3060\u3051\u3069open\u3001waitfor\u3067\u5931\u6557\u3057\u305f\u5834\u5408\u306f\u6709\u7121\u3092\u3044\u308f\u3055\u305a\u4f8b\u5916\u3067\u7d42\u4e86\u3059\u308b\u307d\u3044\uff1f\u306e\u3067\u3001\u30a8\u30e9\u30fc\u51e6\u7406\u304c\u5fc5\u8981\u306a\u5834\u5408\u306feval { } \u3067\u56f2\u3081\u3070\u3044\u3044\u306e\u304b\u306a\u3002 login use Net::Telnet my $prompt = '/\\[.+\\]\\$/'; my $telnet = Net::Telnet->new( Timeout => 10, Prompt => $prompt, #Dump_log => './dump.log', #Input_log => './input.log', )\u2026","title":"Net::Telnet - perl\u3067telnet","blog_url":"https://hogem.hatenablog.com/","image_url":null,"width":"100%","blog_title":"\u3046\u307e\u3044\u307c\u3046\u3076\u308d\u3050","version":"1.0"}