[SunHELP] insert one line at beginning of text file; efficien tly

Dale Ghent daleg at elemental.org
Wed Sep 3 16:45:20 CDT 2003


On Wednesday, September 3, 2003, at 05:21 PM, Phil Stracchino wrote:

> Don't you think it's a bit wasteful starting up a whole Perl 
> interpreter
> to do something this trivial?

What is it wasting, exactly? Gas? Trees? Water? Air?

> [ A close(FILE); when you're done would probably be a good idea, too.]

either or. perl cleans that up automagically. There's more than one way 
to skin a cat, as you alpha-geek types obnoxiously love to point out.

/ek
http://elektronkind.org/
Psytrance: it's post-grad school for ravers.



More information about the SunHELP mailing list