Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 contemplating the Monastery: (14)
As of 2015-09-02 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (83 votes), past polls