You were thinking of$ perl -MO=Deparse,-p -le"print - --$i" BEGIN { $/ = "\n"; $\ = "\n"; } print((-(--$i))); -e syntax OK
print(-( ++$i - --$i ))
In reply to Re^4: Boolean counter?
by Anonymous Monk
in thread Boolean counter?
by DreamT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |