On Mon, Apr 15, 2002 at 10:11:12AM +0100, Matthew Winn wrote:
> So lining up of code like this...
> 
>     $x  {a}  {b}   = 1;
>     $xxx{aaa}{bbb} = 2;
>     print $x  {a}  {b},   "\n";
>     print $xxx{aaa}{bbb}, "\n";
> 
> ....will no longer work in Perl 6?  That's not going to be much fun.

You'll just have to do it this way:

      $x{a  }{b  } = 1;
    $xxx{aaa}{bbb} = 2;
    print   $x{a  }{b  }, "\n";
    print $xxx{aaa}{bbb}, "\n";

Which is, I must admit, not as Fun as the Perl 5 way.

David Henderson
-- 
For news about Trek books and Enterprise, visit Psi Phi!
Star Trek Books: http://www.psiphi.org/cgi/upc-db/
Enterprise Site: http://enterprise.psiphi.org/       <*>

Reply via email to