[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Why is C so popular?



On Thu, 2003-08-28 at 04:32, Colin Watson wrote:
> On Thu, Aug 28, 2003 at 01:44:50AM -0500, Alex Malinovich wrote:
> > I've been using Perl for a number of years with programs that store
> > data in flat files. Usually using a combination of likely-to-be-unique
> > record delimiters (usually :&:) and repeated calls to split(). To find
> > a language that automatically does it for you before you ever even get
> > to the 'real' code is really fascinating.
> 
> Hey, Perl has autosplit mode; see perlrun(1) ...

Aah! I did not know that! Thanks! :) So I can at least slightly clean up
my code now. Though come to think of it, that could really be useful for
parsing long (i.e. --option=value) command line arguments as well. I
really should have studied that man page better. But I always kind of
figured that anything interesting you were going to do with Perl would
be done in the code itself. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: