add in support for tied objects, adjust a few log levels
[scpubgit/Object-Remote.git] / lib / Object / Remote / Tied.pm
diff --git a/lib/Object/Remote/Tied.pm b/lib/Object/Remote/Tied.pm
new file mode 100644 (file)
index 0000000..af6f7fd
--- /dev/null
@@ -0,0 +1,21 @@
+package Object::Remote::Tied;
+
+use strictures 1; 
+
+#a proxied tied object just ties to the
+#proxy object that exists on the remote
+#side of the actual tied variable - when
+#creating the remote tied variable the proxy
+#is passed to the constructor 
+
+sub TIEHASH {
+    return $_[1];
+}
+
+sub TIEARRAY {
+    return $_[1];
+}
+
+
+1;
+