According to Brent 'Dax' Royal-Gordon: > Chip Salzenberg <[EMAIL PROTECTED]> wrote: > > parrot_alias(a, 'b', # dest: Python is unified, no need for a > > category here > > a, 'b', 'scalar') # src: Perl is not unified, so source > > category is required > > It seems to me that a much easier way to handle this would be to > mangle Perl variables to something that most languages *can* access: > > $foo=s_foo > @foo=a_foo
That would work. > [plan B:] > Python would access them like so: > File.ns.Path.sub.new() > > Not perfect, certainly, but it would work, and be reasonably elegant. "Works for me." > (This does pose a problem going the other way, but I suspect Perl > could simply mark its own packages in some way, and fall back to a > simpler scheme, such as "ignore the sigil", when it's munging another > language's namespaces.) Could you unpack this 'problem', and give an example? -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I don't really think it is a question of bright people and dumb people, but rather people who can see the game they're playing and those who can't." -- Joe Cosby