FAQ

--- Jeff 'japhy/Marillion' Pinyan wrote:
perl -pe '$_ x= !$seen{$_}++'
(attributed to some of Larry's genius)
LOL!!! Twistedly brilliant!

Ok, lemme see if I can parse this.....
[correct prognosis snipped]
Is that right?
Yes. I attribute that to Larry Wall, because he wrote something like

perl -pe '$_ x= /pattern/'

to make a poor man's grep. I found that beautiful.
I'd have to say I agree with you.
His is less twisted, more subtle;
I think both deserve to be framed. =o)

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 16 | next ›
Discussion Overview
groupbeginners @
categoriesperl
postedJul 30, '01 at 6:15p
activeJul 30, '01 at 9:40p
posts16
users6
websiteperl.org

People

Translate

site design / logo © 2022 Grokbase