Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: seeking different ways to slice a 2-d array

by stephen (Priest)
on Apr 25, 2002 at 03:34 UTC ( [id://161847]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $foo = get_foo();
    do_something($foo);
    
  2. or download this
    do_something( get_foo() );
    
  3. or download this
    my $foo = get_foo();
    if ($snargle = 3 && $foo = 2) {
    ...
       # lots of other stuff here...
    }
    do_something($foo);
    
  4. or download this
    grep { $_->[2] } @slice_me;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-26 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found