Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^6: RFC: Accelerated stepping (true sub)

by tye (Sage)
on Sep 08, 2008 at 00:44 UTC ( [id://709692]=note: print w/replies, xml ) Need Help??


in reply to Re^5: RFC: Accelerated stepping
in thread RFC: Accelerated stepping

grep sub { ... }, @list

never runs the anonymous subroutine and always returns all of @list since a code ref evaluates to 'true' in a Boolean context.

- tye        

Replies are listed 'Best First'.
Re^7: RFC: Accelerated stepping (true sub)
by hexcoder (Curate) on Sep 08, 2008 at 14:21 UTC
    Oops,

    thanks for your comment, I missed that.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-24 00:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found