I have a script that takes an sql and formats into a report, simple
stuff.

I have a product that when it changes I want a sub heading.  I have
coded this.

if( $prior_product ne $sql_product ) {
    print form...
    $prior_product = $sql_product;
}

Is there a better way to code this sort of report formatting?  Seems
clunky and there should be a generic solution.


-- 
Ken Foskey
FOSS developer


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to