Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
  2. or download this
    local $/ = 'Frame: ';
    
  3. or download this
    while (<>) {
    }
    
  4. or download this
    next unless my ($frame) = /(\d+)/;
    
  5. or download this
    my $count = grep /C/, split /\n/;
    
  6. or download this
    print "Frame: $frame " . $count . "\n";
    
  7. or download this
    use strict;
    use warnings;
    ...
        my $count = grep /C/, split /\n/;
        print "Frame: $frame " . $count . "\n";
    }
    
  8. or download this
    Frame: 11 7
    Frame: 12 7