Help for this page

Select Code to Download


  1. or download this
    my @new_song = map { $_ = $_ =~ /^[a-g]$/ ? $notes{$_} : 'not a note';
    + $_ } @song_notes;
    
  2. or download this
    my @new_song = map { /^[a-g]$/ ? $notes{$_} : 'not a note' } @song_not
    +es;
    
  3. or download this
    my @new_song = map { $_ = $$SoM{$_} ? $_.' '.$$SoM{$_} : 'not a note';
    + $_ } @$notes;
    
  4. or download this
    my @new_song = map { $_ = $SoM->{$_} ? $_ . ' ' . $SoM->{$_} : 'not a 
    +note' } @$notes;