diff options
author | Tom Feist <shabble@metavore.org> | 2010-10-10 21:56:19 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2010-10-10 21:56:19 +0000 |
commit | 43424b9438dff43a056e4563b47e1f334dd94a25 (patch) | |
tree | b45f22ac37c7faefb592a84bf7b7dd056e3e7b8e /feature-tests/test.sub | |
parent | re-added additional signals to refresh prompt when needed (diff) | |
download | irssi-scripts-43424b9438dff43a056e4563b47e1f334dd94a25.tar.gz irssi-scripts-43424b9438dff43a056e4563b47e1f334dd94a25.zip |
added a brief proof-of-concept for loading/reloading additional functions on the
fly from within irssi scripts.
Diffstat (limited to 'feature-tests/test.sub')
-rw-r--r-- | feature-tests/test.sub | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/feature-tests/test.sub b/feature-tests/test.sub new file mode 100644 index 0000000..6a24879 --- /dev/null +++ b/feature-tests/test.sub @@ -0,0 +1,6 @@ +{ + 'moo' => sub { print "Moo" }, + 'hello' => sub { print join(", ", @_) } +}; + + |