Update: Nevermind, it works without the curlies. It didn't work a minute ago... The script probably didn't save correctly.
Change
open FH, ">$..line";
to
open FH, ">${.}.line";
for your code to work.
In reply to Re^2: splitting output to separate files, one per line
by ikegami
in thread splitting output to separate files, one per line
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |