The curious thing is that the test in the grep:
contains nothing that depends on whatever $self->channels is or returns. It could equally be written:return grep { $self->level( $level ) } $self->channels;
but that doesn't answer the question of why $self->channels appears to be missing.return $self->level($level) ? $self->channels : () ;
In reply to Re^2: I don't understand this grep
by gone2015
in thread I don't understand this grep
by gwhite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |