Help for this page

Select Code to Download


  1. or download this
    if (/$hash{$whatever}/) {
        do something;
    }
    
  2. or download this
    %SampleHash (
        'whatever' => 'whatever',
        'whoever' => 'whoever',
    )
    
  3. or download this
    if($SampleHash{$string}){ ... }
    
  4. or download this
    foreach(LIST) {
        $checked{$_}++;
    }
    
    if($checked{$string}) { ... }
    
  5. or download this
    @checked{LIST} = ();
    
    if(exists $check{$string}) { ... }