{"published":"2006-11-08 13:21:48","categories":[],"url":"https://hiroyukim.hatenablog.jp/entry/20061108/1162959708","blog_url":"https://hiroyukim.hatenablog.jp/","height":"190","description":"Test::Base run_is\u3057\u3066\u307f\u305f\u3002 use Test::Base; plan tests => 1 * blocks; run_is input => 'expected'; sub hoge_filter { s/my/your/g; } __END__ === Test one (the name of the test) --- input hoge_filter my hoge --- expected your hoge \u3053\u306e\u7f6e\u63db\u3001\u300c\u304a\u524d\u306e\u3082\u306e\u306f\u4ffa\u306e\u3082\u306e\u300d\u307f\u305f\u3044\u306a\u7f6e\u63db\u306b\u306a\u3063\u3066\u305f\u3002orz","blog_title":" (\u30fd\u00b4\u03c9`)\u3000","width":"100%","version":"1.0","author_url":"https://blog.hatena.ne.jp/hiroyukim/","type":"rich","author_name":"hiroyukim","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiroyukim.hatenablog.jp%2Fentry%2F20061108%2F1162959708\" title=\" CPAN -  (\u30fd\u00b4\u03c9`)\u3000\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"title":" CPAN","provider_name":"Hatena Blog","provider_url":"https://hatena.blog"}