print always succeeds (for a suitable definition of 'always'), i.e. print 0; returns 1.
$ perl -e 'print print 0' 01$
Update: I should also say that the short-circuit behavior of or omits the print 0 clause when $x is true.
After Compline,
Zaxo
In reply to Re: Weird syntax question
by Zaxo
in thread Weird syntax question
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |