[Chicago-talk] map and pop

Dooley, Michael Dooley.Michael at con-way.com
Mon Dec 29 15:31:28 CST 2003

I want to do something like this, but I also want to remove the found
element from @files.

my @nfiles=grep /^car/, @files;

can anyone point me in the right direction, I am thinking map is needed but
I don't have much confidence using it.

More information about the Chicago-talk mailing list