Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Suggestions on learning Perl

From (A.J. Rossini)
Subject   Re: st: RE: Suggestions on learning Perl
Date   27 Nov 2002 06:49:10 -0800

>>>>> "nick" == Nick Cox <> writes:

    nick> I have great admiration for Perl, and have 
    nick> used it a bit, but I have an offbeat suggestion
    nick> which real Perl experts will sniff at. 
    nick> They will say that what I am going to suggest 
    nick> has long since been superseded by Perl -- and they 
    nick> are in a sense totally right. 

    nick> Awk. 

Thanks Nick, that was a pleasant reminder. 

Throw in sed, cut, and a few more of the unix command-line file
munging tools, and you can do most of what you want.  

I greatly prefer python (which has its own wierd features, like
meaningful white space), but the question really boils down to user
preference whether one prefers small precision tools (awk/sed/cut/etc)
or huge swiss army knives (python/perl).

(I do believe that Perl has sed/awk act-a-likes, good for use on non
POSIX/unix command-line shells...).


A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics	
FHCRC/SCHARP/HIV Vaccine Trials Net
-------------- ----------------
FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
(my tuesday/wednesday/friday locations are completely unpredictable.)

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index