Help for this page
use strict; use warnings; ... write_invoice( $invoice ) if $invoice; write_invoice( '', 'FORCE' );