Perl OUTPUT BUFFERING... like PHPs ob_start()...?

Superwormy

Golden Member
Feb 7, 2001
1,637
0
0

Looking to buffer the entire output of a Perl CGI script to a string so that I can save it to a file. Making cached copies of pages that I'm generating on the fly.

In PHP, I'd use ob_start(), and ob_get_contents(), is there a similar function / method to do this in Perl?

Thanks...