in reply to Re^3: Boolean counter?
in thread Boolean counter?
You were thinking of$ perl -MO=Deparse,-p -le"print - --$i" BEGIN { $/ = "\n"; $\ = "\n"; } print((-(--$i))); -e syntax OK
print(-( ++$i - --$i ))
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Boolean counter?
by ikegami (Patriarch) on Dec 07, 2009 at 17:01 UTC |