in reply to Re^3: Perl 6: Static/Dynamic Strong/Weak Type Systems
in thread Perl 6: Static/Dynamic Strong/Weak Type Systems

Fair enough. For those who don't follow, the "hole" is that whenever an explicit glob is the RHS of an assignment, the member of the glob matching the LHS will be substituted. This is because a glob is both a type and a collection of types.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re^4: Perl 6: Static/Dynamic Strong/Weak Type Systems

Replies are listed 'Best First'.
Re^5: Perl 6: Static/Dynamic Strong/Weak Type Systems
by salva (Canon) on Apr 16, 2006 at 22:59 UTC
    no, no, what I wanted to show is that when a glob ia assigned to a scalar, the scalar becomes a glob!

    After

    $foo = *foo
    $foo is a glob!