Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: filtering an array

by vagabonding electron (Chaplain)
on Sep 02, 2012 at 14:55 UTC ( #991281=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    #!/usr/bin/perl -l
    use strict;
        print "$number => $positions{$number}";
        print "Just print a number $number";
  2. or download this
    If an array element is a line number and a base together as a string:
    1 => ACAC
    Just print a number 1
    4 => ACCA
    Just print a number 4

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2016-10-26 01:21 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.