:| :} OK, so to put the others out of their (possible) misery: > Vicki writes: > >> if (...) { >> my @item_parts = split(/\n/, $item); >> printf ORDER ("\n%4d %-50s %3.2f %3.2f\n", >> $quantity, $item_parts[0], $price, $ext); >> } else { >> printf ORDER ("\n%4d %-50s %3.2f %3.2f\n", >> } $quantity, $item, $price, $ext);
That last line there has the } out of sequence; should be: printf ORDER ("\n%4d %-50s %3.2f %3.2f\n", $quantity, $item, $price, $ext); } I personally feel Pizza and Beer always solves vision problems! PS - BBEdit is the ONLY way ( ... ducking ... :) _Sx____________________ ('> -Sx- IUDICIUM //\ Have Computer - v_/_ Will Hack...