in reply to Re: simple regex question
in thread simple regex question
$|++Why?
Is there a reason to insert obscure, needless, lines in your program? Considering that all you're are doing is writing newline terminated strings to STDOUT, which already flushes on newlines by default, there isn't much of a reason to disable buffering.
But if, for some reason, you want to disable buffering, why this syntax? What's wrong with a plain $| = 1;? You do realize that not everyone knows what the result of $|++;$|++;$|--;$|--; is?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: simple regex question
by phenom (Chaplain) on Nov 26, 2010 at 15:16 UTC | |
|
Re^3: simple regex question
by Marshall (Canon) on Nov 27, 2010 at 04:56 UTC | |
by JavaFan (Canon) on Nov 27, 2010 at 11:10 UTC |