Re: Grep and list notation
by Chris Wagner other posts by this author
May 20 2005 4:18PM messages near this date
view in the new Beta List Site
Re: need help with utf8
|
Grep and list notation
Yes, you need () to make the temporary list from which you can grab [2].
grep { (split / +/, $_)[2] > = 100 } @InLines;
--
REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 > =--
"...ne cede males"
00000100
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|