An experiment to use perl syntax and built-ins with iterators/generators