<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hogem</author_name>
  <author_url>https://blog.hatena.ne.jp/hogem/</author_url>
  <blog_title>うまいぼうぶろぐ</blog_title>
  <blog_url>https://hogem.hatenablog.com/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>今時telnetかよっていう感じだけど、一部のNW機器はtelnetしかなかったりするので。で、やってみたんだけどopen、waitforで失敗した場合は有無をいわさず例外で終了するぽい？ので、エラー処理が必要な場合はeval { } で囲めばいいのかな。 login use Net::Telnet my $prompt = '/\[.+\]\$/'; my $telnet = Net::Telnet-&gt;new( Timeout =&gt; 10, Prompt =&gt; $prompt, #Dump_log =&gt; './dump.log', #Input_log =&gt; './input.log', )…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogem.hatenablog.com%2Fentry%2F20090612%2F1244818070&quot; title=&quot;Net::Telnet - perlでtelnet - うまいぼうぶろぐ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-06-12 23:47:50</published>
  <title>Net::Telnet - perlでtelnet</title>
  <type>rich</type>
  <url>https://hogem.hatenablog.com/entry/20090612/1244818070</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
