David wrote:

How do you determine the datatype of a PMC? For example, if I create the following array:


From docs/core_ops.pod (built from core.ops):

=item B<typeof>(out STR, in PMC)

=item B<typeof>(out INT, in PMC)

Return the type of PMC in $2.

The String result is the class name, the int result is the enum value of the class, which might vary, when new classes are added.

Thanks!


leo




Reply via email to