From: Axel Etzold Date: 2007-06-10T17:24:25+09:00 Subject: Re: Passing block to Proc#call Dear Erwin, maybe this is what you're looking for: def cut_off_regexp(an_array) return proc { |regexp| res=[] an_array.each{|entry| if entry.length>5 and regexp.match(entry) res<