in reply to map vs. foreach

I smell a use for supersplit here. These days it's also available on CPAN: SuperSplit!
use SuperSplit; $pwd = supersplit_open( ':', '/etc/passwd' ); $pwd = [map [@$_[6,7]], @$pwd ]; #Or do you mean 5,6? print superjoin( "\n", $pwd ); #I'd leave the \n out
chipmunk, is this a valid plug ;-)?

Jeroen
"We are not alone"(FZ)