Help for this page

Select Code to Download


  1. or download this
    my ($temp) = [121, 122, 123, 124, 125, etc...]
  2. or download this
    foreach $id (@$temp) {
    # do things with $id
    }
    
  3. or download this
    @hash{@$temp}=@$t;
    foreach $id (keys %hash) {
    # do things with $id
    }
    
  4. or download this
    if ($hash{120}) {
    # id 120 exists
    }