Unlearning old habits

ziggy on 2004-04-10T15:12:17

My current project at work uses Tcl and AOLServer. At this point, I'm mostly doing testing to learn Tcl and gain confidence in tdom, an amazingly tiny yet featureful XML processing library for Tcl.

Mostly, I'm running individual tests cases or the entire test suite. Thankfully, the bundled test harness (tcltest) is quite similar to Test::Harness and friends and not overly abstracted like JUnit.

The main problem I'm having is that whenever I'm ready to run a test, my brane is hard wired to try to do this:

$ perl all.tcl  ## or 'make test'
$ perl 03_general.t
...instead of this:
$ tclsh8.4 all.tcl
$ tclsh8.4 03_general.test


Re: Unlearning old habits

jdporter on 2004-04-14T01:55:43

O.k., so just
alias perl=tclsh8.4
:-)