>
In Perl6:

    print sqrt(9) + 7;  # Prints 10.
    print sqrt (9) + 7; # Prints  4.

    #
    # Code1 is run if %hash is non-empty. Code2 is always run.
    # Code3 is always run. Code4 is run if %hash{Code3} is true.
    #
    if %hash {Code1} {Code2}
    if %hash{Code3} {Code4}



Oh, this is not good. This is sub-optimal. Hm. Um. I've never seen anything like it. How can you program in this. Not good.

But. But. Doesn't Perl 6 have Perl 5 compatibility mode?

Reply via email to