Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        my %hash = map { $_ => 1 } @_;
        keys %hash == 1 ? 1 : 0;
    }
    
  2. or download this
    push @{ $dirLines{$curDir} }, $numLines;
    
  3. or download this
    $VAR1 = {
              './test/test bbb' => [
    ...
                       3
                     ]
            };
    
  4. or download this
    for my $dir ( sort keys %dirLines ) {
        my $sameResults = sameArrayElements( @{ $dirLines{$dir} } );
    
    ...
    
  5. or download this
    The files in directory '.' do not have the same number of lines.
    The files in directory './test' do not have the same number of lines.
    The files in directory './test/test bbb' do have the same number of li
    +nes.