Help for this page

Select Code to Download


  1. or download this
      if ($_==1){# show name 'individual' for qty 1 else show number
    
  2. or download this
      @quantities = ('1','5','10','25','50','100');
      printf(
    ...
        ($_ == $userRecord{$pack_qty}) ? ' selected' : '',
        ($_ == 1) ? 'Individual' : $_
      ) for @quantities;