<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiba_yu36</author_name>
  <author_url>https://blog.hatena.ne.jp/shiba_yu36/</author_url>
  <blog_title>$shibayu36-&gt;blog;</blog_title>
  <blog_url>https://blog.shibayu36.org/</blog_url>
  <categories>
    <anon>tech</anon>
  </categories>
  <description>Test::UsedModulesを使うと使っていないモジュールを検出できる。ユーティリティとしてリファクタリングのあとに、必要なくなったuseをサクッと調べられると、便利なのじゃないかと考えてcheck-perl-used-modulesというコマンドを作ってみた。check-perl-used-modulesというファイルを適当にPATHが通っているところに用意する。 #!/bin/bash path=$(git ls-files | peco) if [ -z &quot;$path&quot; ]; then exit fi perl -MTest::UsedModules -MTest::More -e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayu36.org%2Fentry%2F2015%2F08%2F06%2F150901&quot; title=&quot;Perlで、あるファイルが必要のないモジュールをuseしてないか調べるスクリプト - $shibayu36-&amp;gt;blog;&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>http://cdn-ak.f.st-hatena.com/images/fotolife/s/shiba_yu36/20150806/20150806142436.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-06 15:09:01</published>
  <title>Perlで、あるファイルが必要のないモジュールをuseしてないか調べるスクリプト</title>
  <type>rich</type>
  <url>https://blog.shibayu36.org/entry/2015/08/06/150901</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
