Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: I don't understand this grep

by ikegami (Patriarch)
on Nov 05, 2008 at 18:50 UTC ( [id://721765]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://721765]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2025-12-14 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (94 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.