|
Re: [pm-h] Next month's topic: msg#00003lang.perl.perl-mongers.houston
On Tue, 21 Mar 2006 07:34:00 -0600 Mike Flannigan <mikeflan@xxxxxxxxxxxxx> wrote: > > I pass this on long ago. This reg expression method is > valuable for reading many types of files: > > next unless ($_ =~ > /^[^\t]*\t[^\t]*\t[^\t]*\t[^\t]*\t[^\t]*\t[^\t]*\t[^\t]*\tAR\t/i); Oh, the "next unless line_test" technique. One of my favorite variations of this is: next unless /\S/; for skipping blank lines. That's a really good technique to remind people about. G. Wade -- Virtual is when it's not but it looks like it is and transparent is when it is but it looks like it isn't. -- Rick Hoselton
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [pm-h] Next month's topic, Mike Flannigan |
|---|---|
| Next by Date: | [pm-h] March meeting, G. Wade Johnson |
| Previous by Thread: | Re: [pm-h] Next month's topic, Mike Flannigan |
| Next by Thread: | [pm-h] March meeting, G. Wade Johnson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |