Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by stephen (Priest)
on Apr 25, 2002 at 03:34 UTC ( #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? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2023-02-01 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (3 votes). Check out past polls.

    Notices?