Help for this page

Select Code to Download


  1. or download this
    # set up an array at the top of your program
    my @output;
    ...
    sub cprint {
        $capture ? (print @_) : push(@output,@_);
    }