NQP question to add a null value node

Patrick R. Michaud pmichaud at pobox.com
Fri Mar 4 13:15:38 UTC 2011


On Fri, Mar 04, 2011 at 01:11:43PM +0100, Gerd Pokorra wrote:
> How can I add a node with the value null with NQP?
> method value:sym<null>($/) {
>    #  ????
> }

Perhaps...?

    method value:sym<null>($/) {
        pir::null();
    }

Pm


More information about the parrot-dev mailing list