Help for this page

Select Code to Download


  1. or download this
    sub find_hash_core {
      my $dir = './';
    ...
        if ( m/1234yourhashvalue/ ) {
          print "found hash";
    }
    
  2. or download this
    my @files = grep { -f $_ && m/1234yourhashvalue/ } readdir $dirh;
    
  3. or download this
    chdir $dir;
    my @files = glob( "*.1234yourhashvalue" );
    
  4. or download this
    my @files = qx{ find $dir -maxdepth 1 -type f -name "*.1234yourhashval
    +ue" };