![]() |
|
more useful options | |
PerlMonks |
Re: How to write out a Perl script and run it in as few keystrokes as possible.by SuicideJunkie (Vicar) |
on Sep 25, 2012 at 16:28 UTC ( #995588=note: print w/replies, xml ) | Need Help?? |
You can reduce it to a mere two keys (CTRL-S) with the use of eval. Put simply, have one extra script to run your main script repeatedly. As soon as you save the changes to disk, the next iteration of the looping run will show your changes. If you want to get fancy, you can have the eval loop wait until the timestamp of your source file changes before re-running the script.
In Section
Seekers of Perl Wisdom
|
|