Coder's Guild Mailing List

Re: need perl help

Posted by Frank Hale on 2001-01-08

> I have a very large file (810kb) and I want to write a small perl script
to
> grab the first word on every line and put it into another file. Can
somebody
> show me how to get the first word on each line and ignore the rest of the
> line? I can write the rest. I don't want somebody to do the whole thing
for
> me.
>

Well I figured it out. It took me a couple hours but I got the results I was
looking for. Thanks anyway!