[Tutor] Are you allowed to shoot camels? [kinda OT]

Alan Gauld alan.gauld at freenet.co.uk
Fri Feb 4 09:58:41 CET 2005


> > We'll just have to have to disagree about awk.  I starting
learning Perl
> > to avoid learning awk :-)
>
> But awk is smaller and simpler than perl. So it should be faster
> (esp. at startup) for small and simple tasks.
> As usual: Right tool for right task.

awk starts faster but perl is more efficient because it compiles
the code prior to execution. So for any long files or big programs
Perl is significantly faster than awk. But awk is just so elegant
and quick to write that I use it for everything except huge files.

Alan G.



More information about the Tutor mailing list