Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Think for yourself.

by Abigail-II (Bishop)
on Oct 06, 2003 at 08:51 UTC ( #296889=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    map do_something($_), @some_list;
    do_something($_) for @some_list;
  2. or download this
    () = do_something ($_) for @some_list;
  3. or download this
    map {BLOCK} @some_list;
  4. or download this
    () = do {BLOCK} for @some_list;
  5. or download this
    do {BLOCK} for @some_list;
  6. or download this
    for (@some_list) {
        () = do {BLOCK};
  7. or download this
    for (@some_list) {
  8. or download this
    user_defined_function {BLOCK} LIST;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://296889]
[Discipulus]: ;=) can be an idea for another killing oneliner..
Eily used google. The lazy internet equivalent of grep
[karlgoethebier]: He!
[Eily]: Discipulus pretty much all oneliners are killing. Do you imagine how many people could be working if you asked them to do the same thing in C each time ? :P

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-07-21 09:21 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (320 votes). Check out past polls.