Help for this page

Select Code to Download


  1. or download this
    #===== Open the file containing our list of produce
    $filename = "produce_items.txt";
    open(PRODUCE, $filename) || die "Error opening $filename! : $!\n ";
    
  2. or download this
    #===== Open the file containing our list of produce
    $current_directory = $ENV{PWD};
    $filename = "$current_directory" . "/" . "produce_items.txt";
    open(PRODUCE, $filename) || die "Error opening $filename! : $!\n ";