Your skill will accomplish what the force of many cannot |
|
PerlMonks |
oneliner: autorun script when I save it in the editorby FreeBeerReekingMonk (Deacon) |
on Mar 26, 2017 at 22:08 UTC ( [id://1186015]=CUFP: print w/replies, xml ) | Need Help?? |
Sometimes you get spoiled by IDE's that have F5 to save and run what you have scripted so far... so... what can you do if you have 2 xterms (one for vi, the other for the output)?
with test.pl having:
yields:
Tested to work under Win10 and Linux Of course, there are better implementations. inotifywait or auditd if available on your system... any perl golfers? Update: we now incorporate the improvement made by haukex. Feel free to add more parameters if you need these
Back to
Cool Uses for Perl
|
|