testing some experimental code

Testing some experimental Perl code; In 2 term windows, placed so I can see both at the same time..

  • with in one term window the editor (yes, emacs!);
  • and in the other a compiler on loop “while true; do clear; date; perl test.pl; sleep 3; done“;

really rules 🙂

I save my files and 3 seconds later, most of the time quicker, I can see the result in the other window (convieniently placed so I can see both at the same time..) Its great! Ideal for quickly testing some experimental code before putting it in the bigger picture 🙂

And you can do it in X, but you can also do it in screen! Probably best not to run it on production machines since you re really wasting processor there 😉

Published by Gert

Person-at-large.

2 thoughts on “testing some experimental code

Leave a Reply to Gert Cancel reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: