On Fri, Jun 17, 2005 at 02:29:08PM -0500, Rod Adams wrote:
: Don't you mean:
:
:13
:4
:4
:
: ?
Er, yes. Sorry I've been spouting vaguely incoherent spoutings this
week, but I've been up several times every night trying to deal with a
masked bandit that likes to sneak in the cat doo
On 6/17/05, Larry Wall <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 17, 2005 at 03:56:50AM +0800, Autrijus Tang wrote:
> :
> : my $x = 3;
> : my $y = \$x;
> : say $y + 10;
> : $y++;
> : say $y;
> : say $x;
> :
> I suspect people will find that counterintuitive. A more consiste
Larry Wall wrote:
On Fri, Jun 17, 2005 at 03:56:50AM +0800, Autrijus Tang wrote:
:
: 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 s
On Fri, Jun 17, 2005 at 03:56:50AM +0800, Autrijus Tang wrote:
:
: 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
:
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 t