in reply to output to STDERR/warn hangs Perl under Apache at ~64,800 bytes
Apache cares more about runtime than how many bytes you send :) try
STDOUT->autoflush(1); STDERR->autoflush(1); [download]