Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2014-07-29 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (226 votes), past polls