Re: Matching at least $x words out of @words
"A. Pagaltzis" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.fun |
|---|---|
| Message-ID | <20050509101247.GB16137@klangraum> |
* A. Pagaltzis <[email protected]> [2005-05-09 12:10]: > The problem with this and all the grep solutions is that you ^^^^^^^^^^^^^^^^^^^^^^^^^^ > don’t know whether you matched the same alternate multiple > times, Err, that bit was non-sense, of course. I need some coffee. Regards, -- #Aristotle *AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1}; &Just->another->Perl->hacker;