in reply to Re: Re: Re: Re: buffering question
in thread buffering question
My C upbringing showed up, and I did not test what I presumed was the behavior of $| :-(
Update </b
Now that I did test it, turns out to be even more interesting. Running this
prints thisprint $|++ for (0..9); print" post ++\n"; print $|-- for (0..9); print" post --\n"; print ++$| for (0..9); print" pre ++\n"; print --$| for (0..9); print" pre --\n";
Creative use of this $|-- behavior, anyone?0111111111 post ++ 1010101010 post -- 1111111111 pre ++ 0101010101 pre --
|
|---|