in reply to $| pre and post increment and deincrement behavior
If you want $| to be 1, assign 1 to it. Pre- or post indcrement is unnecessarily "clever" and could bite you if $| doesn't happen to have the value you assume.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $| pre and post increment and deincrement behavior
by robin (Chaplain) on Dec 01, 2005 at 14:05 UTC |