summaryrefslogtreecommitdiff
path: root/lib/Attribute/Handlers/demo/demo_call.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Attribute/Handlers/demo/demo_call.pl')
-rwxr-xr-xlib/Attribute/Handlers/demo/demo_call.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Attribute/Handlers/demo/demo_call.pl b/lib/Attribute/Handlers/demo/demo_call.pl
new file mode 100755
index 0000000000..1a97342116
--- /dev/null
+++ b/lib/Attribute/Handlers/demo/demo_call.pl
@@ -0,0 +1,11 @@
+#! /usr/local/bin/perl -w
+
+use Attribute::Handlers;
+
+sub Call : ATTR {
+ use Data::Dumper 'Dumper';
+ print Dumper [ @_ ];
+}
+
+
+sub x : Call(some,data) { };