Hi,

I'm in my 50's and new to Perl, and I love it! Wish I discovered it
years ago :-(

Slowly I'm learning bits an pieces but find myself getting confused at
times. I have that situation today.

I've looked at this:

sub encrypt {
    my $self = shift;
    my $xx = $$self;
        #.. cut stuff I do understand

    return $self->SUPER::encrypt();
}

Could someone help me with the Perl to English here?
I get that $self is shifting the arguement.
I think I get that $xx is a reference to $self?
I don't get at all: return $self->SUPER::encrypt();

Is this assigning the $self to the results of a call to a class called
SUPER's method encrypt?





-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to