Juerd writes:
> Where :: (in a module name) can be used, an operator could have been
> used.
> 
> How is $foo??Bar::Baz::Quux parsed? 

    $foo ?? Bar::Baz::Quux;  # error, :: expected

Indeed, this is illegal:

    Bar::Baz :: Quux.new;

No whitespace allowed.

> I hope it's an error, although some people aren't going to like
> mandatory whitespace around an already rather fat operator.

It's only manditory where it would be misinterpreted as a package
sigil/separator.

    $foo??split()::0;

Ought to be fine, though:

    $foo??split::0;

Would croak on you.

Luke

Reply via email to