Hi,

        my $x = 5;
        {
                temp $x;
                # is $x 5 or undef?
        }
        # $x is definately 10

I think it should be 5 inside, because it makes it easy to write
things like:

        my $x = 5;
        {
                temp $x++;
                # $x is 6
        }
        # $x is 5 again

and otherwise pretty much DWIMs, except from a historical
perspective.

-- 
  Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org  0xEBD27418

Attachment: pgpqVi7l1FtDo.pgp
Description: PGP signature

Reply via email to