Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
XP is just a number
 
PerlMonks  

Re: filtering an array

by philiprbrenan (Monk)
on Sep 01, 2012 at 19:41 UTC ( #991187=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use feature ":5.14";
    use warnings FATAL => qw(all);
    ...
    $_ = $_->[0] for @positions;
    say "Without bases: ", dump(@positions);
    
  2. or download this
    With bases: ([1, "ACAC"], [4, "ACAC"])
    Without bases: (1, 4)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2014-04-25 01:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (579 votes), past polls