[tpm] Writing to STDOUT in batches

Antonio Sun antoniosun at lavabit.com
Mon Dec 6 07:50:55 PST 2010

Thanks for the reply, Richard.

On Mon, Dec 6, 2010 at 10:38 AM, Richard Dice <rdice at pobox.com> wrote:

> Maybe you are trying to complicate this?  . . .

The reason why I need the open statement is in the loop -- I need to print a
selected portion of the content **of each loop**. If I don't do it this way
and open outside the loop instead, I'll get the portion only from the first

Think of double loop here, where content() maybe the foreach loop that you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20101206/4f65d181/attachment.html>

More information about the toronto-pm mailing list