summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-02-24 19:01:07 -0600
committerJesse Luehrs <doy@tozt.net>2012-02-24 19:01:07 -0600
commitdbcfc1928ed37428729be2d157840bc6de3ae858 (patch)
treeafa004e42e58de9380431078cd4725964edf286e
parentf62cf899aae6c5e52d31be4263e9d98b3a927d69 (diff)
downloadterm-filter-dbcfc1928ed37428729be2d157840bc6de3ae858.tar.gz
term-filter-dbcfc1928ed37428729be2d157840bc6de3ae858.zip
allow adding new input handles
-rw-r--r--lib/Term/Filter.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Term/Filter.pm b/lib/Term/Filter.pm
index a5f5556..6d4b718 100644
--- a/lib/Term/Filter.pm
+++ b/lib/Term/Filter.pm
@@ -59,7 +59,8 @@ has input_handles => (
init_arg => undef,
builder => '_build_input_handles',
handles => {
- input_handles => 'elements',
+ input_handles => 'elements',
+ add_input_handle => 'push',
},
);