{"id":1102,"date":"2021-03-17T14:23:18","date_gmt":"2021-03-17T05:23:18","guid":{"rendered":"https:\/\/www.opentone.co.jp\/ot-lab\/?p=1102"},"modified":"2025-05-12T10:06:19","modified_gmt":"2025-05-12T01:06:19","slug":"perltidy","status":"publish","type":"post","link":"https:\/\/www.opentone.co.jp\/ot-lab\/all\/web-system\/perltidy","title":{"rendered":"[Perl::Tidy] \u6e05\u304f\u6b63\u3057\u304f\u7f8e\u3057\u304f"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"450\" height=\"300\" src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s.jpeg\" alt=\"\" class=\"wp-image-1103\" srcset=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s.jpeg 450w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s-300x200.jpeg 300w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/figure>\n\n\n\n<p>\u3053\u3093\u306b\u3061\u306f\u3001ND\u3067\u3059\u3002<\/p>\n\n\n\n<p>Eclipse\u3067Perl\u306e\u958b\u767a\u3059\u308b\u969b\u306b\u3001\u5f37\u529b\u306a\u30b5\u30dd\u30fc\u30c8\u3092\u3057\u3066\u304f\u308c\u308b\u306e\u304c<strong>EPIC(Eclipse Perl Integration)<\/strong>\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u304b\u3067\u3082<strong>\u300cSource Formatter\u300d<\/strong>\u306f\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u7f8e\u3057\u304f\u6574\u5f62\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3001\u4e00\u65e5\u306b\u4f55\u5ea6\u3082\u4f7f\u7528\u3059\u308b\u6a5f\u80fd\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<br>\u30c1\u30fc\u30e0\u3067\u958b\u767a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u7d71\u4e00\u3057\u3001\u30b3\u30df\u30c3\u30c8\u524d\u306e\u6574\u5f62\u3092\u30eb\u30fc\u30eb\u3068\u3057\u3066\u308b\u3068\u3053\u308d\u3082\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u305d\u3093\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u306eTips\u3067\u3059\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u6539\u884c\u30b3\u30fc\u30c9\u306f\u4f55\u306b\u3057\u3066\u3044\u307e\u3059\u304b\uff1f<\/h1>\n\n\n\n<ul class=\"wp-block-list\"><li>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u6539\u884c\u30b3\u30fc\u30c9\u306f\u4f55\u3067\u3059\u304b\uff1f<\/li><li>\u3084\u306f\u308a\u300cLF\u300d\u3067\u3059\u304b\uff1f<\/li><li>\u300cLF\u300d\u306b\u3057\u305f\u3044\u304c\u305f\u3081\u306b\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u3067\u6539\u884c\u30b3\u30fc\u30c9\u3092\u300cUnix\u300d\u3068\u3057\u3066\u3044\u307e\u305b\u3093\u304b\uff1f<\/li><li>\u6539\u884c\u30b3\u30fc\u30c9\u3092\u300cUnix\u300d\u306b\u6307\u5b9a\u3057\u305f\u306e\u306b\u3001\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u3059\u308b\u3068\u300cCR+LF\u300d\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"898\" height=\"649\" src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/Screen-Shot-2014-08-31-at-7.11.32-PM.png\" alt=\"\" class=\"wp-image-1104\" srcset=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/Screen-Shot-2014-08-31-at-7.11.32-PM.png 898w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/Screen-Shot-2014-08-31-at-7.11.32-PM-300x217.png 300w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/Screen-Shot-2014-08-31-at-7.11.32-PM-768x555.png 768w\" sizes=\"(max-width: 898px) 100vw, 898px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">\u3053\u3053\u3067\u30cf\u30de\u3063\u3066\u3044\u308b\u65b9\u306b\u306f\u3001\u30aa\u30c8\u30af\u306a\u60c5\u5831\u3067\u3059\uff01<\/h1>\n\n\n\n<p>\u300cSource Formatter\u300d\u306e\u6a5f\u80fd\u306fEclipse\u306b\u3082\u3042\u308a\u307e\u3059\u304c\u3001Perl\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306fEPIC\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8a2d\u5b9a\u306b\u5f15\u304d\u305a\u3089\u308c\u307e\u3059\u3002<br><strong>\u305d\u306e\u305f\u3081\u3001Eclipse\u306e\u8a2d\u5b9a\u3067\u6539\u884c\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u3066\u3082\u30e0\u30c0\u3067\u3059\u2026<\/strong><\/p>\n\n\n\n<p>EPIC\u30d7\u30e9\u30b0\u30a4\u30f3\u300cSource Formatter\u300d\u306e\u8a2d\u5b9a\u3092\u5909\u3048\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n\n\n\n<p>Preferences &gt;&gt; Perl EPIC &gt;&gt; Editor &gt;&gt; Source Formatter<br>\u300cAdditional PerlTidy Options\u300d\u306b\u300c-ole=unix\u300d\u3092\u5165\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"733\" height=\"649\" src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/Screen-Shot-2014-08-31-at-7.27.21-PM.png\" alt=\"\" class=\"wp-image-1105\" srcset=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/Screen-Shot-2014-08-31-at-7.27.21-PM.png 733w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/Screen-Shot-2014-08-31-at-7.27.21-PM-300x266.png 300w\" sizes=\"(max-width: 733px) 100vw, 733px\" \/><\/figure>\n\n\n\n<p>\u3053\u308c\u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u304b\u3051\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br>Unix\u306e\u6539\u884c\u30b3\u30fc\u30c9\u300cLF\u300d\u306b\u7d71\u4e00\u3055\u308c\u305f\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Windows\u30e6\u30fc\u30b6\u5fc5\u898b\uff01<\/h1>\n\n\n\n<p>\u304a\u305d\u3089\u304fWindows\u30e6\u30fc\u30b6\u306f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u304b\u3051\u308b\u3068\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"933\" height=\"242\" src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/eclipce_error.png\" alt=\"\" class=\"wp-image-1106\" srcset=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/eclipce_error.png 933w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/eclipce_error-300x78.png 300w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/eclipce_error-768x199.png 768w\" sizes=\"(max-width: 933px) 100vw, 933px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>perltidy returned unexpected output via stderr, possibly due to invalid options in Source Formatter preferences:<\/p><p>ignoring -ole; only works under unix<\/p><p>Use formatter&#8217;s output anyway?<\/p><\/blockquote>\n\n\n\n<p>\u3053\u308c\u306f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u304b\u3051\u308b\u969b\u306b<strong>\u300cPerl::Tidy\u300d<\/strong>\u3068\u3044\u3046\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u304a\u4ed5\u4e8b\u3092\u3057\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u5165\u3063\u3066\u3044\u306a\u3044(\u3082\u3057\u304f\u306f\u6700\u65b0\u3067\u306f\u306a\u3044)\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>ActivePerl<\/strong>\u3092\u4f7f\u3063\u3066\u3044\u308b\u65b9\u306f\u3001<strong>PPM(Perl Package Manager)<\/strong>\u3067\u300cPerl::Tidy\u300d\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u5c0e\u5165\u5f8c\u306f\u554f\u984c\u306a\u304f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304c\u304b\u3051\u3089\u308c\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u7f8e\u3057\u304f\u3057\u3066\u30ec\u30d3\u30e5\u30fc\u306b\u81e8\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n\n\n\n<p>\u3067\u306f\u3067\u306f\u3002<\/p>\n<div class=\"opent-_2\" style=\"margin-top: 10px;margin-right: 10px;margin-bottom: 10px;margin-left: 10px;\" id=\"opent-2605284727\"><a href=\"https:\/\/www.opentone.co.jp\/backlog\/\" aria-label=\"twitter_backlogskt_new\"><img src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new.jpg\" alt=\"\"  srcset=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new.jpg 1024w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new-300x157.jpg 300w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new-768x401.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" width=\"384\" height=\"200\"   \/><\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001ND\u3067\u3059\u3002 Eclipse\u3067Perl\u306e\u958b\u767a\u3059\u308b\u969b\u306b\u3001\u5f37\u529b\u306a\u30b5\u30dd\u30fc\u30c8\u3092\u3057\u3066\u304f\u308c\u308b\u306e\u304cEPI<\/p>\n","protected":false},"author":1,"featured_media":1103,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[28],"tags":[8],"class_list":["post-1102","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-system","tag-blog",""],"acf":[],"aioseo_notices":[],"uagb_featured_image_src":{"full":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s.jpeg",450,300,false],"thumbnail":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s-150x150.jpeg",150,150,true],"medium":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s-300x200.jpeg",300,200,true],"medium_large":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s.jpeg",450,300,false],"large":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s.jpeg",450,300,false],"1536x1536":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s.jpeg",450,300,false],"2048x2048":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s.jpeg",450,300,false],"engage-mag-carousel-img":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s.jpeg",450,300,false],"engage-mag-carousel-img-landscape":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s-450x225.jpeg",450,225,true],"engage-mag-carousel-large-img":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s.jpeg",450,300,false],"engage-mag-carousel-large-img-landscape":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s-450x287.jpeg",450,287,true],"engage-mag-large-thumb":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s.jpeg",450,300,false],"engage-mag-small-thumb":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/18423323_s-350x220.jpeg",350,220,true]},"uagb_author_info":{"display_name":"ah106rx4o4","author_link":"https:\/\/www.opentone.co.jp\/ot-lab\/author\/ah106rx4o4"},"uagb_comment_info":0,"uagb_excerpt":"\u3053\u3093\u306b\u3061\u306f\u3001ND\u3067\u3059\u3002 Eclipse\u3067Perl\u306e\u958b\u767a\u3059\u308b\u969b\u306b\u3001\u5f37\u529b\u306a\u30b5\u30dd\u30fc\u30c8\u3092\u3057\u3066\u304f\u308c\u308b\u306e\u304cEPI","_links":{"self":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/1102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/comments?post=1102"}],"version-history":[{"count":1,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/1102\/revisions"}],"predecessor-version":[{"id":1107,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/1102\/revisions\/1107"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/media\/1103"}],"wp:attachment":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/media?parent=1102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/categories?post=1102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/tags?post=1102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}