On Mon, Aug 22, 2005 at 20:35:40 +0000, Ingo Blechschmidt wrote:
> Hi,
> on #perl6, we were wondering how to use() modules from foreign
> languages which have an incompatible identifier syntax. E.g.:
> use perl5:Foo::Bar; # fine, no problem
> # Load JavaScript modules from JSAN
> use jsan:Test.Simple; # should we simply accept the dot, or...
> use jsan:Test::Simple; # ask users to write this?
In my opinion we translate the foreign namespace into a perlish
one... It's more "at home", and at some point some language which
uses syntax errors for package qualifiers (Acme::Don't, anyone?) is
obund to pop up, and then it'll be just inconsistent.
--
() Yuval Kogman <nothingm...@woobling.org> 0xEBD27418 perl hacker &
/\ kung foo master: /me groks YAML like the grasshopper: neeyah!!!!!!
|
|
application_pgp-signature_part
< 1K
Download
|