#Perl https://www.javadrive.jp/perlfunc/string/index10.html 文字列から末尾の改行文字を削除する[[Perl]]の関数。