On Thu, February 21, 2008 5:23 pm, SJS wrote: > begin quoting Lan Barnes as of Thu, Feb 21, 2008 at 04:55:00PM -0800: >> >> On Thu, February 21, 2008 4:14 pm, SJS wrote: > [snip] >> > For this sort of text processing, I'd probably reach for perl before >> > trying to build something out of grep. >> >> >> I've done perl. Tcl was better. > > If I'm intending on controlling something, I reach for tcl/expect/wish; > if I'm grinding through text, I reach for perl. > > I don't reach for either one nearly often enough. >
If I'm doing a 1-off, I might reach for perl. If I might use the code again, or if I want a GUI message or interface (now or in the future), I reach for tcl. Also, perl is much more likely to be approved by a PHB. They either haven't heard of tcl, ot they share the misconception that it's old fashioned and slow, or they want a 1-language environment (some validity to that) or .... But it's annoying to bounce between scripting languages. So I try to stick to tcl where I can. -- Lan Barnes SCM Analyst Linux Guy Tcl/Tk Enthusiast Biodiesel Brewer -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
