It seems odd that ref(\$foo) should return "REF" if $foo is itself a reference. What was this in aid of? Nat