in reply to oneliner: autorun script when I save it in the editor
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).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: oneliner: autorun script when I save it in the editor
by FreeBeerReekingMonk (Deacon) on Mar 27, 2017 at 20:19 UTC |
In Section
Cool Uses for Perl