On Friday 24 February 2006 01:57, you wrote: > On Feb 23, 2006, at 6:43 PM, Achim Grolms wrote: > > On Friday 24 February 2006 01:06, Graham Barr wrote: > >>> GSSAPI::Name->import( $target, > >>> principal, > >>> gss_nt_service_name ) > >> > >> Calling import directly does not seem a good thing to do to me. Can > >> someone explain why we are doing that ? > > > > That's the constructor, creating a new GSSAPI::Name object > > and storing it into $target. > > > > that follows the behaviour of the C-Library that returns > > most of it's values through manipulating it's input > > parameters. > > Its unfortunate that it was decided to follow the C API names so > closely.
Maybe, it was not my decision, and renaming it will break other peoples code that rely on this interface. > A sub called import has a purpose in perl, namely for > importing into the current namespace. And perl will call it for use. What does this mean? What is the worst thing that can happen on what conditions? > IMO this warrants a comment to other reading this code knows what it > does instead of what they think it might do. Becaus a non GSSAPI reader thinks the import() method (you desribed) is used instead of the import() method from the GSSAPI interface is used? Thank you, Achim