David sent the following bits through the ether:
> how can I test to determine the datatype of the object in P1?
You'd be wanting "typeof". The following prints out "PerlString", for
example:
new P0, .PerlArray
set P0[1], "cat"
set P0[2], 123
set P0[3], 456.789
set P1, P0[1]
typeof S0, P1
print S0
print "\n"
end
Leon
ps i fixed your code
--
Leon Brocard.............................http://www.astray.com/
scribot.................................http://www.scribot.com/
... Useless invention no. 404: Inflatable anchor