Re: [Perlgssapi-developer] DESTROY as constant
Brought to you by:
achimgrolms
|
From: Achim G. <per...@gr...> - 2006-02-24 15:44:16
|
On Friday 24 February 2006 15:48, Merijn Broeren wrote:
> > 2. what means "check in your autoloader"?
>
> sub AUTOLOAD {
> my ($self, $search, $params) = @_;
>
> my $name = our $AUTOLOAD;
> $name =~ s/.*://;
>
> # special case -- need to handle DESTROY or we'll get warnings
> # during destruction
>
> return if ($name eq "DESTROY");
>
> is a traditional way to start your autoloader.
Yes.
But the changes I have sent in my patch are Changes of the AUTLOAD sub
of GSSAPI.pm (and checking for 'DESTROY' and returning in that case).
Do I have made things wrong?
> > But the problem I have to understand is:
> > *Why* to I get the warnings when GSSAPI pm ist used
> > in the Authen::SASL::Perl::GSSAPI module?
> > (One difference is that init() is called twice because of MUTAL_FLAG)
>
> init() is called twice as well in gss-server.pl if you connect with
> -mutual. Did you try that?
At the moment not with gss-server.pl, but will do.
Do you get that warnings with your client/server setup and MUTAL_FLAG
or is the Perl/SASL module the special case?
Thank you,
Achim
|