in reply to Is there a way to find out what kind of ref an object is?
eval { keys %$ref } ; print "its a hash" unless $@;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there a way to find out what kind of ref an object is?
by ysth (Canon) on Dec 07, 2005 at 00:10 UTC | |
by diotalevi (Canon) on Dec 07, 2005 at 03:31 UTC |