develooper Front page | perl.perl6.language | Postings from July 2006

namespaces, a single colon to separate HLL prefix?

Thread Next
From:
Allison Randal
Date:
July 6, 2006 00:35
Subject:
namespaces, a single colon to separate HLL prefix?
Message ID:
44ACBC06.7030204@perl.org
Quick question, is there a syntax specified in Perl 6 for referring to 
namespaces from other languages?

I'm reviewing the namespaces PDD and want to update this snippet:
------
IMPLEMENTATION EXAMPLES: Suppose a Perl program were to import some Tcl 
module with an import pattern of ``c*'' -- something that might be 
expressed in Perl 6 as use tcl:Some::Module 'c*'. This operation would 
import all the commands that start with 'c' from the given Tcl namespace 
into the current Perl namespace. This is so because, regardless of 
whether 'c*' is a Perl 6 style export pattern, it is a valid Tcl export 
pattern.

{XXX - Is the ':' for HLL approved or just proposed? Somebody familiar 
with Perl 6 please fix the example in the preceding paragraph to use the 
currently planned syntax for importing modules from other languages.}
------

Thanks,
Allison

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About