Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    
       print $alpha[$_+1] for @location; # prints bdf
    
  2. or download this
      my @alpha = qw(a b c d e f);
    
    ...
      for (@location){
         print $alpha[$_+1] if defined $alpha[$_+1];
      }