Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: (Efficiency Golf) Triangular numbers

by Abigail (Deacon)
on May 31, 2001 at 19:12 UTC ( #84597=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        foreach (@array) {
            push @other, $_ if some_condition;
        }
    
  2. or download this
        @other = grep {some_condition} @array;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-06-03 02:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (116 votes), past polls