From 78e6d3f8ba74aaeb5ab88e0947804411f01d6367 Mon Sep 17 00:00:00 2001
From: Shrivatsan <nastavs@gmail.com>
Date: Sun, 23 May 2010 23:13:30 +0530
Subject: [PATCH] added .fmt method to Iterator.pm so that fmt can take Iterators of
 any form.

---
 src/core/Iterator.pm |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/core/Iterator.pm b/src/core/Iterator.pm
index 6545dd6..1022b32 100644
--- a/src/core/Iterator.pm
+++ b/src/core/Iterator.pm
@@ -27,4 +27,7 @@ augment class Iterator {
     multi method sort(&by = &infix:<cmp>) {
         self.Seq.sort(&by);
     }
+    multi method fmt($format='%s', $separator=' ') {
+        self.Seq.fmt($format,$separator);
+    }
 }
-- 
1.6.4

