On Sun, Feb 17, 2002 at 12:02:49PM -0500, Bill -OSX- Jones wrote:
> 
> >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);
> }
> 

Oops!  The problem I noticed is that the output columns won't line up.  :)

Ronald

Reply via email to