On Fri, Jan 30, 2004 at 06:16:06PM +0000, Tim Bunce wrote:
: In Java you would write "java.lang.String", naturally, and in Perl
: you'd write "parrot::java::java.lang.String".

That's okay if it's a string being interpreted by the appropriate
code, but as a Perl 6 name it won't wash.  That's gonna try to call
the .lang method on the parrot::java::java class, and the String
method on the result of that.

(Unless, of course, you define a parrot::java::java macro to mangle
subsequent Perl 6 syntax.  But that seems awfully hackish.  And the
parrot::java namespace might not let you define the macro there in
the first place...)

Larry

Reply via email to