ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
scalar dereferencing.
by Autrijus Tang other posts by this author
Jun 16 2005 12:57PM messages near this date
Re: nested subs | Re: scalar dereferencing.
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/
Attachments:
unknown1
unknown2

Thread:
Autrijus Tang
Larry Wall
Joshua Gatcomb
Rod Adams
Larry Wall

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved