in reply to Re: What the heck does $|++; do?
in thread What the heck does $|++; do?
$| = 0; $| ++; $| ++; $| --; $| --; print $|; # prints 1, not 0!
If I were to code review production code, someone writing $| ++ instead of $| = 1 better have a pretty damn good reason for doing so.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What the heck does $|++; do?
by PhilHibbs (Hermit) on Apr 13, 2004 at 17:35 UTC | |
by Chady (Priest) on Apr 13, 2004 at 19:16 UTC | |
by PhilHibbs (Hermit) on Apr 15, 2004 at 08:23 UTC |