Help for this page

Select Code to Download


  1. or download this
    if ($PARTS eq $ordnum) {
    
  2. or download this
    chomp(@PARTS = <PARTS>);
    
  3. or download this
    while (<PARTS>) {
      chomp;
      if ($_ eq $ordnum) { ...
    
  4. or download this
    for $PARTS (@PARTS) {
      if ($PARTS eq $ordnum) { # assuming 'eq' is correct here
    ...
        last;
      }
    }