Nice! The only small change I'd suggest is using system("perl",$f) (or even system($^X,$f)) instead of say `perl "$f"`, since the former will allow for live output (although you may still need $|=1; in the called script).
In reply to Re: oneliner: autorun script when I save it in the editor
by haukex
in thread oneliner: autorun script when I save it in the editor
by FreeBeerReekingMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |