home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!noc.near.net!nic.umass.edu!news.mtholyoke.edu!jbotz
- From: jbotz@mtholyoke.edu (Jurgen Botz)
- Subject: Re: Perl & manipulating large texts
- Message-ID: <BzG0rG.LoB@mtholyoke.edu>
- Sender: news@mtholyoke.edu (USENET News System)
- Organization: Mount Holyoke College
- References: <BzF1Cn.M1t@mtholyoke.edu>
- Date: Fri, 18 Dec 1992 06:59:39 GMT
- Lines: 10
-
- Correction to my previous post:
-
- In article <BzF1Cn.M1t@mtholyoke.edu> jbotz@mtholyoke.edu (Jurgen Botz) writes:
- > $* = 1;
- > while (/$pat/) {
- > $match = $&;
- > $_ = $_; <<<<========= should of course be: $_ = $'
- > &do_something_with($match);
- > $pat = &next_pat();
- > }
-