環境は Mac OSX 10.11
rename s/hoge_hoge/fuga_fuga/g *.png
を実行すると
Bareword "th_festival" not allowed while "strict subs" in use at (eval 2) line 1.
アンダースコア"_"が文法エラーと怒られる
これを回避するには
rename s/hoge_hoge/fuga_fuga/g *.png
とすればよい。
(正規表現も使えるし今度からこっちを使おうかな・・・)