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