my $x = 3;
    my $y = \$x;
    say $y + 10;
    $y++;
    say $y;
    say $x;

Currently in Pugs they print:

    13
    4
    3

Is this sane?  What is the scalar reference's semantics in face of a
stringification and numification?  I assume that array/hash references
simply pass on to the things they references to resolve stringify
and numify, according to S02, but I had not been able to find mentioning
about scalar refs

Thanks,
/Autrijus/

Attachment: pgpcaOqaTwRFT.pgp
Description: PGP signature

Reply via email to