>>>>> "LT" == Leopold Toetsch <[EMAIL PROTECTED]> writes:
LT> If you want to use a perl5 module from Python which has both $foo and LT> @foo exported, we can just pitch a fit. Everything else can be handled LT> by the import module. LT> And: we can't attach hints to the namespace lookup because you just LT> don't know, if Python wants the scalar "foo" or the array "foo". There LT> is exactly one "foo" object that Python can use, that's it. LT> Python allows only bare names in the import statement: LT> from a import foo [ as a_foo ] LT> but not: LT> from a import "@foo" [ as a_foo ] you could use a priority ordering if two foo items are exported. something like code, scalar, array, hash, etc. not many cpan modules currently (AFAIK) export 2 things with the same basename. and since python is oo they would hopefully expect no imports at all (except for maybe constants which isn't pure oo then). or you can still pitch a fit. uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org