in reply to Re^2: I don't understand this grep
in thread I don't understand this grep

I wonder if it's supposed to be
return grep { $_->level( $level ) } $self->channels;

Replies are listed 'Best First'.
Re^4: I don't understand this grep
by ccn (Vicar) on Nov 05, 2008 at 19:17 UTC
    Yes it's easy to mess $_ and $_[0]. Nobody see that until an error occured.
Re^4: I don't understand this grep
by gwhite (Friar) on Nov 05, 2008 at 19:25 UTC

    I tried adjusting the syntax and got the exact same message. $self->channels is not defined anywhere in the module, so it is either misnamed or missing. I will have to figure that out

    g_White