Function extra::fileinput::input_vec_state

pub fn input_vec_state(files: ~[std::option::Option], f: &fn(&str, FileInputState) -> bool) -> bool

Iterate over a vector of files (an empty vector implies just stdin) with the current state of the iteration provided at each call.

Fails when attempting to read from a file that can't be opened.