On Feb 23, 2006, at 7:07 PM, Achim Grolms wrote:
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?
I did not say it was a problem, I said it was a confusion. A perl
programmer would think of import as perls special import function.
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?
No, because a perl programmer might be surprised by the use of what
is normally a special function name. And any code should aim to
create a little confusion as possible, hence the suggestion of a
comment.
Graham.